case class Document(id: String, sentences: IndexedSeq[Sentence]) extends Example[IndexedSeq[OntoAnnotations], IndexedSeq[IndexedSeq[String]]] with Product with Serializable
Represents an ontonotes document (a single file, or portion thereof)
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Document
- Product
- Equals
- Example
- Labeled
- Observation
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- lazy val coref: Map[DSpan, Mention]
- def dspans: IndexedSeq[DSpan]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
features: IndexedSeq[IndexedSeq[String]]
- Definition Classes
- Document → Observation
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
val
id: String
- Definition Classes
- Document → Example → Observation
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val label: IndexedSeq[OntoAnnotations]
-
def
map[U](f: (IndexedSeq[IndexedSeq[String]]) ⇒ U): Example[IndexedSeq[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
- Example → Observation
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- lazy val ner: Map[DSpan, NerType.Value]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
relabel[L2](f: (IndexedSeq[OntoAnnotations]) ⇒ L2): Example[L2, IndexedSeq[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
- val sentences: IndexedSeq[Sentence]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Example → Observation → AnyRef → Any
- lazy val trees: IndexedSeq[Tree[AnnotatedLabel]]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def words: IndexedSeq[IndexedSeq[String]]