Class/Object

org.clulab.processors

Sentence

Related Docs: object Sentence | package processors

Permalink

class Sentence extends Serializable

Stores the annotations for a single sentence

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

Instance Constructors

  1. new Sentence(words: Array[String], startOffsets: Array[Int], endOffsets: Array[Int])

    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. var chunks: Option[Array[String]]

    Permalink

    Shallow parsing labels

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def dependencies: Option[DirectedGraph[String]]

    Permalink

    Default dependencies: first Stanford collapsed, then Stanford basic, then None

    Default dependencies: first Stanford collapsed, then Stanford basic, then None

    returns

    A directed graph of dependencies if any exist, otherwise None

  8. var dependenciesByType: GraphMap

    Permalink

    DAG of syntactic and semantic dependencies; word offsets start at 0

  9. val endOffsets: Array[Int]

    Permalink
  10. var entities: Option[Array[String]]

    Permalink

    NE labels

  11. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def equivalenceHash: Int

    Permalink

    Used to compare Sentences.

    Used to compare Sentences.

    returns

    a hash (Int) based on the contents of a sentence

  14. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def getSentenceFragmentText(start: Int, end: Int): String

    Permalink
  17. def getSentenceText(): String

    Permalink

    Recreates the text of the sentence, preserving the original number of white spaces between tokens

    Recreates the text of the sentence, preserving the original number of white spaces between tokens

    returns

    the text of the sentence

  18. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  20. var lemmas: Option[Array[String]]

    Permalink

    Lemmas

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

    Permalink
    Definition Classes
    AnyRef
  22. var norms: Option[Array[String]]

    Permalink

    Normalized values of named/numeric entities, such as dates

  23. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  25. def semanticRoles: Option[DirectedGraph[String]]

    Permalink
  26. def setDependencies(depType: String, deps: DirectedGraph[String]): Unit

    Permalink
  27. def size: Int

    Permalink
  28. def stanfordBasicDependencies: Option[DirectedGraph[String]]

    Permalink

    Fetches the Stanford basic dependencies

  29. def stanfordCollapsedDependencies: Option[DirectedGraph[String]]

    Permalink

    Fetches the Stanford collapsed dependencies

  30. val startOffsets: Array[Int]

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

    Permalink
    Definition Classes
    AnyRef
  32. var syntacticTree: Option[Tree]

    Permalink

    Constituent tree of this sentence; includes head words

  33. var tags: Option[Array[String]]

    Permalink

    POS tags for words

  34. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. val words: Array[String]

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped