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
Alphabetic
By inheritance
Inherited
Sentence
Product
Equals
Example
Labeled
Observation
Serializable
Serializable
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
Sentence
(
docId:
String
,
index:
Int
,
words:
IndexedSeq
[
String
]
,
annotations:
OntoAnnotations
)
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
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
val
annotations
:
OntoAnnotations
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
coref
:
Map
[
DSpan
,
Mention
]
val
docId
:
String
def
dspans
:
IndexedSeq
[
DSpan
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
features
:
IndexedSeq
[
String
]
Definition Classes
Sentence
→ Observation
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
flatMap
[
U
]
(
f: (
IndexedSeq
[
String
]) ⇒
U
)
:
Example
[
OntoAnnotations
,
U
]
Definition Classes
Example → Observation
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
id
:
String
Definition Classes
Sentence
→ Example → Observation
val
index
:
Int
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
label
:
OntoAnnotations
Definition Classes
Sentence
→ Example → Labeled
def
length
:
Int
def
map
[
U
]
(
f: (
IndexedSeq
[
String
]) ⇒
U
)
:
Example
[
OntoAnnotations
,
U
]
Definition Classes
Example → Observation
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
ner
:
Map
[
DSpan
,
NerType.Value
]
lazy val
nerSegmentation
:
Segmentation
[
NerType.Value
,
String
]
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
relabel
[
L2
]
(
f: (
OntoAnnotations
) ⇒
L2
)
:
Example
[
L2
,
IndexedSeq
[
String
]]
Definition Classes
Example
def
speaker
:
Option
[
String
]
def
srl
:
IndexedSeq
[
Frame
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
Example → Observation → AnyRef → Any
def
tree
:
Tree
[
AnnotatedLabel
]
def
treeInstance
(
processor:
StandardTreeProcessor
)
:
TreeInstance
[
AnnotatedLabel
,
String
]
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
(
...
)
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
represents an annotation ontonotes sentence. Doesn't include raw sentence, for now.