edu.arizona.sista.processors

Sentence

Related Doc: package processors

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

  2. new Sentence(words: Array[String], startOffsets: Array[Int], endOffsets: Array[Int], tags: Option[Array[String]], lemmas: Option[Array[String]], entities: Option[Array[String]], norms: Option[Array[String]], chunks: Option[Array[String]], syntacticTree: Option[Tree], dependenciesByType: DependencyMap)

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. var chunks: Option[Array[String]]

  6. def clone(): AnyRef

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

    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: DependencyMap

  9. val endOffsets: Array[Int]

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

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

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

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

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

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

  16. def getSentenceText(): String

    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. def hashCode(): Int

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

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

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

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

  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

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

  25. def setDependencies(depType: Int, deps: DirectedGraph[String]): Unit

  26. def size: Int

  27. def stanfordBasicDependencies: Option[DirectedGraph[String]]

    Fetches the Stanford basic dependencies

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

    Fetches the Stanford collapsed dependencies

  29. val startOffsets: Array[Int]

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

    Definition Classes
    AnyRef
  31. var syntacticTree: Option[Tree]

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

  33. def toString(): String

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

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped