T
- the token typepublic interface IErrorResult<T extends IToken>
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.util.List<IMWE<T>>> |
getDetails()
Returns a
Map that stores multi-word expressions under the ID of
the error class they belong to. |
int |
getNumErrors(java.lang.String id)
Gets the number of MWEs that fall under the given error class.
|
int |
getTotalErrors()
Returns the total number of errors for the result.
|
int getTotalErrors()
int getNumErrors(java.lang.String id)
id
- the ID of the error class.java.util.Map<java.lang.String,java.util.List<IMWE<T>>> getDetails()
Map
that stores multi-word expressions under the ID of
the error class they belong to. Should never be null
.Map
that stores multi-word expressions under
the ID of the error class they belong to.Copyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.