public class NegativeList extends Object
| Constructor and Description |
|---|
NegativeList(File myFile) |
NegativeList(InputStream is) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(String mentionText,
String label)
checks whether an entity mention is contained in the negative list.
|
public NegativeList(File myFile) throws IOException
IOExceptionpublic NegativeList(InputStream is) throws IOException
IOExceptionpublic boolean contains(String mentionText, String label)
mentionText - the text covered by the entity annotationlabel - the label assigned to this entity annotationCopyright © 2019 JULIE Lab Jena, Germany. All rights reserved.