Object/Class

org.clulab.sequences

LexiconNER

Related Docs: class LexiconNER | package sequences

Permalink

object LexiconNER extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LexiconNER
  2. Serializable
  3. Serializable
  4. AnyRef
  5. 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. val INTERN_STRINGS: Boolean

    Permalink
  5. val KNOWN_CASE_INSENSITIVE_LENGTH: Int

    Permalink
  6. val OUTSIDE_LABEL: String

    Permalink
  7. def apply(kbs: Seq[String], entityValidator: EntityValidator = new TrueEntityValidator, useLemmasForMatching: Boolean = false, caseInsensitiveMatching: Boolean = false): LexiconNER

    Permalink

    Creates a LexiconNER from a list of KBs Note that file name (minus the extension) for each KB becomes the name of the corresponding category.

    Creates a LexiconNER from a list of KBs Note that file name (minus the extension) for each KB becomes the name of the corresponding category. For example, /Some/Path/SomeCategory.tsv.gz yields the category name SomeCategory. Each of the KBs must contain one entity name per line

    kbs

    KBs containing known entity names

    entityValidator

    Filter which decides if a matched entity is valid

    useLemmasForMatching

    If true, we use Sentence.lemmas instead of Sentence.words during matching

    caseInsensitiveMatching

    If true, tokens are matched case insensitively

    returns

    The new LexiconNER

  8. def apply(kbs: Seq[String], overrideKBs: Option[Seq[String]], entityValidator: EntityValidator, lexicalVariationEngine: LexicalVariations, useLemmasForMatching: Boolean, caseInsensitiveMatching: Boolean): LexiconNER

    Permalink

    Creates a LexiconNER from a list of KBs Note that file name (minus the extension) for each KB becomes the name of the corresponding category.

    Creates a LexiconNER from a list of KBs Note that file name (minus the extension) for each KB becomes the name of the corresponding category. For example, /Some/Path/SomeCategory.tsv.gz yields the category name SomeCategory. Each of the KBs must contain one entity name per line

    kbs

    KBs containing known entity names

    overrideKBs

    KBs containing override labels for entity names from kbs (necessary for the bio domain)

    entityValidator

    Filter which decides if a matched entity is valid

    lexicalVariationEngine

    Generates alternative spellings of an entity name (necessary for the bio domain)

    useLemmasForMatching

    If true, we use Sentence.lemmas instead of Sentence.words during matching

    caseInsensitiveMatching

    If true, tokens are matched case insensitively

    returns

    The new LexiconNER

  9. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  17. val logger: Logger

    Permalink
  18. def mergeLabels(dst: Array[String], src: Array[String]): Unit

    Permalink

    Merges labels from src into dst, without overlapping any existing labels in dst

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. def scanText(words: Array[String], start: Int, end: Int): (Int, Int, Int, Int, Int)

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped