Value comparisons (as distinct from variable pointer equality)
Value comparisons (as distinct from variable pointer equality)
A collection of attributes, keyed by the attribute class.
Returns true if this span contain the words of argument span in order.
Returns true if this span contain the words of argument span in order.
If true then Diff objects will return this as their variable even when the value indicates it is not "present".
If true then Diff objects will return this as their variable even when the value indicates it is not "present".
A short name for this span
A short name for this span
If true, this SpanVariable will be scored by a difflist, even if it is in its deleted non-"present" state.
If true, this SpanVariable will be scored by a difflist, even if it is in its deleted non-"present" state.
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
The Sentence to which the first Token in this TokenSpan belongs.
The Sentence to which the first Token in this TokenSpan belongs.
Assign a new value to this variable
Assign a new value to this variable
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
Abstract method to return the value of this variable.
Abstract method to return the value of this variable.
(Since version 2.10.0) use fold instead
A TokenSpan holding a mention of an entity. Note that headTokenIndex is an offset from the beginning of this span, not the beginning of the Section. Note also that since Mention is a Span, and Span is a sequence over Tokens, "this.head" is the first token of the span, not the "natural language head" of the phrase; for the later use "this.headToken".