Class

epic.ontonotes

Sentence

Related Doc: package ontonotes

Permalink

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)

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

    Permalink
  5. val annotations: OntoAnnotations

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  8. def coref: Map[DSpan, Mention]

    Permalink
  9. val docId: String

    Permalink
  10. def dspans: IndexedSeq[DSpan]

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

    Permalink
    Definition Classes
    AnyRef
  12. def features: IndexedSeq[String]

    Permalink
    Definition Classes
    SentenceObservation
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  14. def id: String

    Permalink
    Definition Classes
    SentenceExampleObservation
  15. val index: Int

    Permalink
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def label: OntoAnnotations

    Permalink
    Definition Classes
    SentenceExampleLabeled
  18. def length: Int

    Permalink
  19. def map[U](f: (IndexedSeq[String]) ⇒ U): Example[OntoAnnotations, U]

    Permalink

    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
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. def ner: Map[DSpan, NerType.Value]

    Permalink
  22. lazy val nerSegmentation: Segmentation[NerType.Value, String]

    Permalink
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  25. def relabel[L2](f: (OntoAnnotations) ⇒ L2): Example[L2, IndexedSeq[String]]

    Permalink

    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
  26. def speaker: Option[String]

    Permalink
  27. def srl: IndexedSeq[Frame]

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

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    ExampleObservation → AnyRef → Any
  30. def tree: Tree[AnnotatedLabel]

    Permalink
  31. def treeInstance(processor: StandardTreeProcessor): TreeInstance[AnnotatedLabel, String]

    Permalink
  32. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(): Unit

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

    Permalink

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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