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(raw: Array[String], startOffsets: Array[Int], endOffsets: Array[Int], words: Array[String])

    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 Universal enhanced, then Universal basic, then None

    Default dependencies: first Universal enhanced, then Universal basic, then None

    returns

    A directed graph of dependencies if any exist, otherwise None

  8. val endOffsets: Array[Int]

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

    Permalink

    NE labels

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

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

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

    Permalink

    Used to compare Sentences.

    Used to compare Sentences.

    returns

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

  13. def finalize(): Unit

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

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

    Permalink
  16. 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

  17. var graphs: GraphMap

    Permalink

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

  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. def indices: Range

    Permalink
  20. final def isInstanceOf[T0]: Boolean

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

    Permalink

    Lemmas

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

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

    Permalink

    Normalized values of named/numeric entities, such as dates

  24. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  26. val raw: Array[String]

    Permalink
  27. def revert(): Sentence

    Permalink

    Reverts the current sentence

  28. def semanticRoles: Option[DirectedGraph[String]]

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

    Permalink
  30. def size: Int

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

    Permalink

    Fetches the Stanford basic dependencies

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

    Permalink

    Fetches the Stanford collapsed dependencies

  33. val startOffsets: Array[Int]

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

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

    Permalink

    Constituent tree of this sentence; includes head words

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

    Permalink

    POS tags for words

  37. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  38. def universalBasicDependencies: Option[DirectedGraph[String]]

    Permalink

    Fetches the universal basic dependencies

  39. def universalEnhancedDependencies: Option[DirectedGraph[String]]

    Permalink

    Fetches the universal enhanced dependencies

  40. final def wait(): Unit

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

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

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

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped