Class/Object

org.clulab.wm.eidos.expansion

TextBoundExpander

Related Docs: object TextBoundExpander | package expansion

Permalink

class TextBoundExpander extends Expander

Expands mentions along specified incoming and outgoing syntactic dependencies.

Linear Supertypes
Expander, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TextBoundExpander
  2. Expander
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TextBoundExpander(dependencies: Dependencies, maxHops: Int)

    Permalink

    dependencies

    Specifies the valid/invalid incoming/outgoing dependencies

    maxHops

    Max number of dependency edges will traverse during expansion

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 expand(entity: Mention, stateFromAvoid: State): Mention

    Permalink

    Based on the Expansion from clulab processors.

    Based on the Expansion from clulab processors. Expand a mention along syntactic dependencies, as long as you don't cross into something you want to avoid. Mentions are returned as TextBoundMentions

    entity

    Mention to expand

    stateFromAvoid

    mentions representing items which you don't want to expand into

    returns

    expanded TextBoundMention

  9. def expand(ms: Seq[Mention], avoidState: State = new State()): Seq[Mention]

    Permalink
    Definition Classes
    TextBoundExpanderExpander
  10. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hasValidIncomingDependencies(tokenIdx: Int, incomingDependencies: Array[Array[(Int, String)]]): Boolean

    Permalink

    Ensure current token does not have any incoming dependencies that are invalid *

  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. def incomingEdges(s: Sentence): Array[Array[(Int, String)]]

    Permalink
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def isValidIncomingDependency(dep: String): Boolean

    Permalink

    Ensure incoming dependency may be safely traversed

  17. def isValidOutgoingDependency(dep: String, token: String, remainingHops: Int): Boolean

    Permalink

    Ensure dependency may be safely traversed

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

    Permalink
    Definition Classes
    AnyRef
  19. def notInvalidConjunction(dep: String, hopsRemaining: Int): Boolean

    Permalink
  20. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  22. def outgoingEdges(s: Sentence): Array[Array[(Int, String)]]

    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 Expander

Inherited from AnyRef

Inherited from Any

Ungrouped