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. def enhancedSemanticRoles: Option[DirectedGraph[String]]

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

    Permalink

    NE labels

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

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

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

    Permalink

    Used to compare Sentences.

    Used to compare Sentences.

    returns

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

  17. def finalize(): Unit

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

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

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

  21. var graphs: GraphMap

    Permalink

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

  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. def hybridDependencies: Option[DirectedGraph[String]]

    Permalink
  24. def indices: Range

    Permalink
  25. final def isInstanceOf[T0]: Boolean

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

    Permalink

    Lemmas

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

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

    Permalink

    Normalized values of named/numeric entities, such as dates

  29. final def notify(): Unit

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

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

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

    Permalink

    Relation triples from OpenIE

  33. def revert(): Sentence

    Permalink

    Reverts the current sentence

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

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

    Permalink
  36. def size: Int

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

    Permalink

    Fetches the Stanford basic dependencies

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

    Permalink

    Fetches the Stanford collapsed dependencies

  39. val startOffsets: Array[Int]

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

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

    Permalink

    Constituent tree of this sentence; includes head words

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

    Permalink

    POS tags for words

  43. def toString(): String

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

    Permalink

    Fetches the universal basic dependencies

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

    Permalink

    Fetches the universal enhanced dependencies

  46. final def wait(): Unit

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

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

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

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped