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. def ambivalenceHash: Int

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. lazy val cachedAmbivalenceHash: Int

    Permalink
    Attributes
    protected
  7. def calculateAmbivalenceHash: Int

    Permalink
    Attributes
    protected
  8. var chunks: Option[Array[String]]

    Permalink

    Shallow parsing labels

  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. 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

  11. val endOffsets: Array[Int]

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

    Permalink

    NE labels

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

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

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

    Permalink

    Used to compare Sentences.

    Used to compare Sentences.

    returns

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

  16. def finalize(): Unit

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

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

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

  20. var graphs: GraphMap

    Permalink

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

  21. def hashCode(): Int

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

    Permalink
  23. final def isInstanceOf[T0]: Boolean

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

    Permalink

    Lemmas

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

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

    Permalink

    Normalized values of named/numeric entities, such as dates

  27. final def notify(): Unit

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

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

    Permalink
  30. var relations: Option[Array[RelationTriple]]

    Permalink

    Relation triples from OpenIE

  31. def revert(): Sentence

    Permalink

    Reverts the current sentence

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

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

    Permalink
  34. def size: Int

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

    Permalink

    Fetches the Stanford basic dependencies

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

    Permalink

    Fetches the Stanford collapsed dependencies

  37. val startOffsets: Array[Int]

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

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

    Permalink

    Constituent tree of this sentence; includes head words

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

    Permalink

    POS tags for words

  41. def toString(): String

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

    Permalink

    Fetches the universal basic dependencies

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

    Permalink

    Fetches the universal enhanced dependencies

  44. final def wait(): Unit

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

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

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

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped