Class NegativeList


  • public class NegativeList
    extends Object
    • Method Detail

      • contains

        public boolean contains​(String mentionText,
                                String label)
        checks whether an entity mention is contained in the negative list.
        Parameters:
        mentionText - the text covered by the entity annotation
        label - the label assigned to this entity annotation
        Returns:
        true if negative list contains mentionText (with label)