Class

org.clulab.reach.grounding

IMKBMentionLookup

Related Doc: package grounding

Permalink

class IMKBMentionLookup extends IMKBLookup with KBMentionLookup

Class implementing logic for local KB Mention lookups on top of base lookups on top of in-memory KB. Written by Tom Hicks. 10/28/2015. Last Modified: Refactor to use key transforms.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IMKBMentionLookup
  2. KBMentionLookup
  3. IMKBLookup
  4. KBLookup
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IMKBMentionLookup(memoryKB: InMemoryKB = new InMemoryKB())

    Permalink

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. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  12. var memoryKB: InMemoryKB

    Permalink
    Definition Classes
    IMKBLookup
  13. def metaInfo: IMKBMetaInfo

    Permalink

    Return meta information about the external KB from which this KB was created.

    Return meta information about the external KB from which this KB was created.

    Definition Classes
    IMKBLookup
  14. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  17. def resolutions: Resolutions

    Permalink

    Return an optional sequence of the resolutions from this KB.

    Return an optional sequence of the resolutions from this KB.

    Definition Classes
    IMKBLookup
  18. def resolve(mention: Mention): Resolutions

    Permalink

    Resolve the given Mention to an optional entry in a knowledge base.

    Resolve the given Mention to an optional entry in a knowledge base. Return a resolution for the entry, if any found.

    Definition Classes
    IMKBMentionLookupKBMentionLookup
  19. def resolve(text: String): Resolutions

    Permalink

    Resolve the given text string to an optional entry in a knowledge base.

    Resolve the given text string to an optional entry in a knowledge base. Return a resolution for the entry, if any found.

    Definition Classes
    IMKBLookupKBLookup
  20. def resolveByASpecies(mention: Mention, species: String): Resolutions

    Permalink

    Resolve the given Mention to an optional entry in a knowledge base, for the single named species.

    Resolve the given Mention to an optional entry in a knowledge base, for the single named species. Return a resolution for the entry, if any found.

    Definition Classes
    IMKBMentionLookupKBMentionLookup
  21. def resolveByASpecies(text: String, species: String): Resolutions

    Permalink

    Resolve the given text string to optional group of entries in a knowledge base, returning resolutions for all entries found in the KB, for the given species.

    Resolve the given text string to optional group of entries in a knowledge base, returning resolutions for all entries found in the KB, for the given species.

    Definition Classes
    IMKBLookupKBLookup
  22. def resolveBySpecies(mention: Mention, speciesSet: Speciated.SpeciesNameSet): Resolutions

    Permalink

    Resolve the given Mention to an optional group of entries in a knowledge base, returning resolutions for all species entries found in the KB.

    Resolve the given Mention to an optional group of entries in a knowledge base, returning resolutions for all species entries found in the KB.

    Definition Classes
    IMKBMentionLookupKBMentionLookup
  23. def resolveBySpecies(text: String, speciesSet: Speciated.SpeciesNameSet): Resolutions

    Permalink

    Resolve the given text string to an optional group of entries in a knowledge base, returning resolutions for all entries found in the KB, with any of the given species.

    Resolve the given text string to an optional group of entries in a knowledge base, returning resolutions for all entries found in the KB, with any of the given species.

    Definition Classes
    IMKBLookupKBLookup
  24. def resolveHuman(mention: Mention): Resolutions

    Permalink

    Resolve the given Mention to an optional entry in a knowledge base, failing if the entry is not for humans.

    Resolve the given Mention to an optional entry in a knowledge base, failing if the entry is not for humans. Return a resolution for a human entry, if any found.

    Definition Classes
    IMKBMentionLookupKBMentionLookup
  25. def resolveHuman(text: String): Resolutions

    Permalink

    Resolve the given text string to an optional entry in a knowledge base, failing if the entry is not for humans.

    Resolve the given text string to an optional entry in a knowledge base, failing if the entry is not for humans. Return a resolution for a human entry, if any found.

    Definition Classes
    IMKBLookupKBLookup
  26. def resolveNoSpecies(mention: Mention): Resolutions

    Permalink

    Resolve the given Mention to an optional entry in a knowledge base which explicitly does not have an associated species.

    Resolve the given Mention to an optional entry in a knowledge base which explicitly does not have an associated species. Fail if all entries have species. Return a resolution for the entry, if any found.

    Definition Classes
    IMKBMentionLookupKBMentionLookup
  27. def resolveNoSpecies(text: String): Resolutions

    Permalink

    Resolve the given text string to an optional entry in a knowledge base which explicitly does not have an associated species.

    Resolve the given text string to an optional entry in a knowledge base which explicitly does not have an associated species. Fail if all entries have species. Return a resolution for the entry, if any found.

    Definition Classes
    IMKBLookupKBLookup
  28. def speciesForNsId(nsId: String): Speciated.SpeciesNameSet

    Permalink

    Return the set of species for the entries mapped by the given NS/ID key.

    Return the set of species for the entries mapped by the given NS/ID key.

    Definition Classes
    IMKBLookup
  29. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from KBMentionLookup

Inherited from IMKBLookup

Inherited from KBLookup

Inherited from AnyRef

Inherited from Any

Ungrouped