Class/Object

org.clulab.sequences

LexiconNER

Related Docs: object LexiconNER | package sequences

Permalink

class LexiconNER extends Tagger[String] with Serializable

Lexicon-based NER, which efficiently recognizes entities from large dictionaries Note: This is a cleaned-up version of the old RuleNER. Create a LexiconNER object using LexiconNER.apply() (not the c'tor, which is private). Use it by calling the find() method on a single sentence. See org.clulab.processors.TextLexiconNER for usage examples.

Annotations
@SerialVersionUID()
Linear Supertypes
Serializable, Serializable, Tagger[String], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LexiconNER
  2. Serializable
  3. Serializable
  4. Tagger
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def contentfulSpan(sentence: Sentence, start: Int, length: Int): Boolean

    Permalink
    Attributes
    protected
  7. val entityValidator: EntityValidator

    Permalink
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def find(sentence: Sentence): Array[String]

    Permalink

    Matches the lexicons against this sentence

    Matches the lexicons against this sentence

    sentence

    The input sentence

    returns

    An array of BIO notations the store the outcome of the matches

    Definition Classes
    LexiconNERTagger
  12. def findAt(seq: Array[String], caseInsensitiveSeq: Array[String], matcher: HashTrie, offset: Int, validator: EntityValidator): Int

    Permalink
    Attributes
    protected
  13. def findLongestMatch(sentence: Sentence): Array[String]

    Permalink

    Finds the longest match across all matchers.

    Finds the longest match across all matchers. This means that the longest match is always chosen, even if coming from a matcher with lower priority Only ties are disambiguated according to the order provided in the constructor

    Attributes
    protected
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def getTokens(sentence: Sentence): Array[String]

    Permalink
    Attributes
    protected
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. val knownCaseInsensitives: Set[String]

    Permalink

    Set of single-token entity names that can be spelled using lower case, according to the KB(s)

  19. val matchers: Array[(String, HashTrie)]

    Permalink

    A map of tries to be matched for each given category label The order of the matchers is important: it indicates priority during ties (first has higher priority)

  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. val useLemmas: Boolean

    Permalink

    If true, tokens are matched using lemmas, otherwise using words Author: mihais Created: 5/11/15 Modified: 9/27/17 - Clean up from RuleNER into LexiconNER

  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Tagger[String]

Inherited from AnyRef

Inherited from Any

Ungrouped