c

epic.ontonotes

Sentence

case class Sentence(docId: String, index: Int, words: IndexedSeq[String], annotations: OntoAnnotations) extends Example[OntoAnnotations, IndexedSeq[String]] with Product with Serializable

represents an annotation ontonotes sentence. Doesn't include raw sentence, for now.

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Example[OntoAnnotations, IndexedSeq[String]], Labeled[OntoAnnotations], Observation[IndexedSeq[String]], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Sentence
  2. Product
  3. Equals
  4. Example
  5. Labeled
  6. Observation
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Sentence(docId: String, index: Int, words: IndexedSeq[String], annotations: OntoAnnotations)

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. def annotate(tree: Tree[AnnotatedLabel] = tree, ner: Map[DSpan, NerType.Value] = ner, coref: Map[DSpan, Mention] = coref, srl: IndexedSeq[Frame] = srl, speaker: Option[String] = speaker): Sentence
  5. val annotations: OntoAnnotations
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def coref: Map[DSpan, Mention]
  9. val docId: String
  10. def dspans: IndexedSeq[DSpan]
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def features: IndexedSeq[String]
    Definition Classes
    SentenceObservation
  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 id: String
    Definition Classes
    SentenceExampleObservation
  16. val index: Int
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def label: OntoAnnotations
    Definition Classes
    SentenceExampleLabeled
  19. def length: Int
  20. def map[U](f: (IndexedSeq[String]) ⇒ U): Example[OntoAnnotations, U]

    Converts the features in this example to a different one while still preserving label and id.

    Converts the features in this example to a different one while still preserving label and id.

    Definition Classes
    ExampleObservation
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def ner: Map[DSpan, NerType.Value]
  23. lazy val nerSegmentation: Segmentation[NerType.Value, String]
  24. final def notify(): Unit
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  26. def relabel[L2](f: (OntoAnnotations) ⇒ L2): Example[L2, IndexedSeq[String]]

    Converts the label in this example to a different one while still preserving features and id.

    Converts the label in this example to a different one while still preserving features and id.

    Definition Classes
    Example
  27. def speaker: Option[String]
  28. def srl: IndexedSeq[Frame]
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    ExampleObservation → AnyRef → Any
  31. def tree: Tree[AnnotatedLabel]
  32. def treeInstance(processor: StandardTreeProcessor): TreeInstance[AnnotatedLabel, String]
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. val words: IndexedSeq[String]

Inherited from Product

Inherited from Equals

Inherited from Example[OntoAnnotations, IndexedSeq[String]]

Inherited from Labeled[OntoAnnotations]

Inherited from Observation[IndexedSeq[String]]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped