Class/Object

org.clulab.odin

State

Related Docs: object State | package odin

Permalink

class State extends AnyRef

Represents the current state of the ExtractorEngine. Contains all the mentions found in previous iterations.

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

Instance Constructors

  1. new State()

    Permalink

    Makes an empty state

  2. new State(lookUpTable: MentionLUT)

    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. def allMentions: Vector[Mention]

    Permalink

    Returns all mentions contained in the state for which keep == true

  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def contains(m: Mention): Boolean

    Permalink

    Checks if a mention is already contained in the state

  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. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  14. val lookUpTable: MentionLUT

    Permalink
  15. def mentionsFor(sent: Int, toks: Seq[Int], labels: Seq[String]): Seq[Mention]

    Permalink

    Returns all mentions for a given sentence and any of the given tokens that match any of the given labels

  16. def mentionsFor(sent: Int, toks: Seq[Int], label: String): Seq[Mention]

    Permalink

    Returns all mentions for a given sentence and any of the given tokens that match a given label

  17. def mentionsFor(sent: Int, toks: Seq[Int]): Seq[Mention]

    Permalink

    Returns all mentions for a given sentence and any of the given tokens

  18. def mentionsFor(sent: Int, tok: Int, labels: Seq[String]): Seq[Mention]

    Permalink

    Returns all mentions for a given sentence and token that match any of the given labels

  19. def mentionsFor(sent: Int, tok: Int, label: String): Seq[Mention]

    Permalink

    Returns all mentions for a given sentence and token that match a given label

  20. def mentionsFor(sent: Int): Seq[Mention]

    Permalink

    Returns all mentions for a given sentence

  21. def mentionsFor(sent: Int, tok: Int): Seq[Mention]

    Permalink

    Returns all mentions for a given sentence and token

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  27. def updated(mentions: Seq[Mention]): State

    Permalink

    Merges the current state with the provided mentions and returns a new State object.

  28. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped