public interface Tokenization extends Sequence
| Modifier and Type | Method and Description |
|---|---|
Object |
getDocument()
Returns the document of which this is a tokenization.
|
Span |
getSpan(int i) |
Span |
subspan(int start,
int end)
Returns a span formed by concatenating the spans from start to end.
|
Object getDocument()
Span getSpan(int i)
Span subspan(int start, int end)
start - The index of the first token in the new span (inclusive).
This is an index of a token, *not* an index into the document.end - The index of the first token in the new span (exclusive).
This is an index of a token, *not* an index into the document.Copyright © 2019 JULIE Lab, Germany. All rights reserved.