edu.arizona.sista.reach.grounding

KBMentionLookup

Related Doc: package grounding

trait KBMentionLookup extends KBLookup

Trait for simple and species-specific Mention lookup in local knowledge bases. Written by Tom Hicks. 10/28/2015. Last Modified: Make this trait abstract.

Linear Supertypes
KBLookup, Speciated, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. KBMentionLookup
  2. KBLookup
  3. Speciated
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type SpeciesNameSet = Set[String]

    Species name sets.

    Species name sets.

    Definition Classes
    Speciated

Abstract Value Members

  1. abstract def resolve(mention: Mention): Option[KBResolution]

    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. NB: This is an abstract method, to be overridden by each child class.

  2. abstract def resolve(text: String): Option[KBResolution]

    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. NB: This is an abstract method, to be overridden by each child class.

    Definition Classes
    KBLookup
  3. abstract def resolveByASpecies(mention: Mention, species: String): Option[KBResolution]

    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. NB: This is an abstract method, to be overridden by each child class.

  4. abstract def resolveByASpecies(text: String, species: String): Option[KBResolution]

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

    Resolve the given text string to an optional entry in a knowledge base, for the single named species. Return a resolution for the entry, if any found. NB: This is an abstract method, to be overridden by each child class.

    Definition Classes
    KBLookup
  5. abstract def resolveBySpecies(mention: Mention, speciesSet: SpeciesNameSet): Option[Iterable[KBResolution]]

    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. NB: This is an abstract method, to be overridden by each child class.

  6. abstract def resolveBySpecies(text: String, speciesSet: SpeciesNameSet): Option[Iterable[KBResolution]]

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

    Resolve the given text string to an optional group of entries in a knowledge base, returning resolutions for all species entries found in the KB. NB: This is an abstract method, to be overridden by each child class.

    Definition Classes
    KBLookup
  7. abstract def resolveHuman(mention: Mention): Option[KBResolution]

    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. NB: This is an abstract method, to be overridden by each child class.

  8. abstract def resolveHuman(text: String): Option[KBResolution]

    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. NB: This is an abstract method, to be overridden by each child class.

    Definition Classes
    KBLookup
  9. abstract def resolveNoSpecies(mention: Mention): Option[KBResolution]

    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. NB: This is an abstract method, to be overridden by each child class.

  10. abstract def resolveNoSpecies(text: String): Option[KBResolution]

    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. NB: This is an abstract method, to be overridden by each child class.

    Definition Classes
    KBLookup

Concrete Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. val HumanLabels: SpeciesNameSet

    A set of label strings for humans, found in KBs.

    A set of label strings for humans, found in KBs.

    Definition Classes
    Speciated
  5. def SpeciesNameSet(xs: String*): Set[String]

    Definition Classes
    Speciated
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  13. def isHumanSpecies(species: String): Boolean

    Tell whether the given species string is label for humans or not.

    Tell whether the given species string is label for humans or not.

    Definition Classes
    Speciated
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. def isMemberOf(species: String, speciesSet: SpeciesNameSet): Boolean

    Tell whether the given species string is a member of the given set of species.

    Tell whether the given species string is a member of the given set of species.

    Definition Classes
    Speciated
  16. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  20. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from KBLookup

Inherited from Speciated

Inherited from AnyRef

Inherited from Any

Ungrouped