| Package | Description |
|---|---|
| net.sf.okapi.common |
Classes commonly used across the whole Okapi Framework.
|
| net.sf.okapi.common.filterwriter |
Interfaces and classes to allow the output of a document in its original
format.
|
| net.sf.okapi.common.resource |
Interfaces and classes that represent the parsed resources attached to the
events sent by a filter.
|
| net.sf.okapi.lib.segmentation |
Interfaces and classes for segmentation handling.
|
| net.sf.okapi.lib.terminology | |
| net.sf.okapi.lib.terminology.simpletb | |
| net.sf.okapi.steps.tokenization |
| Modifier and Type | Method and Description |
|---|---|
Range |
ISegmenter.getNextSegmentRange(TextContainer container)
Compute the range of the next segment for a given TextContainer object.
|
| Modifier and Type | Method and Description |
|---|---|
static List<Range> |
RegexUtil.getQuotedAreas(String regex) |
List<Range> |
ISegmenter.getRanges()
Gets the list off all segments ranges calculated when
calling
ISegmenter.computeSegments(String), or
ISegmenter.computeSegments(TextContainer). |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Range.contains(Range range)
Returns true if the range contains a given range within its bounds.
|
boolean |
Range.intersectsWith(Range range)
Returns true if the range intersects with a given range.
|
| Modifier and Type | Method and Description |
|---|---|
Range |
GenericContent.getCodedTextPosition(Range position)
Gets the matching position in the coded text string of a given
position in the generic text output.
|
| Modifier and Type | Method and Description |
|---|---|
Range |
GenericContent.getCodedTextPosition(Range position)
Gets the matching position in the coded text string of a given
position in the generic text output.
|
| Modifier and Type | Field and Description |
|---|---|
Range |
AnnotatedSpan.range
The start and end positions of the span of text in the original
coded text.
|
| Modifier and Type | Method and Description |
|---|---|
List<Range> |
Segments.getRanges() |
List<Range> |
ISegments.getRanges()
Gets the list of the boundaries for the current segments in this container.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Segments.create(List<Range> ranges) |
int |
ISegments.create(List<Range> ranges)
Helper method to create segments without empty segments.
|
int |
Segments.create(List<Range> ranges,
boolean allowEmptySegments) |
int |
ISegments.create(List<Range> ranges,
boolean allowEmptySegments)
Creates a set of segments in this container.
|
void |
Segments.joinAll(List<Range> ranges) |
void |
ISegments.joinAll(List<Range> ranges)
Merges back together all segments of this TextContainer object, and clear the
list of segments.
|
| Modifier and Type | Method and Description |
|---|---|
Range |
SRXSegmenter.getNextSegmentRange(TextContainer container) |
| Modifier and Type | Method and Description |
|---|---|
List<Range> |
SRXSegmenter.getRanges() |
| Modifier and Type | Field and Description |
|---|---|
Range |
TermHit.range |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
SimpleTB.isValidMatch(StringBuilder text,
String stringToMatch,
Range location,
boolean betweenCodes)
Searches for a given string in a text.
|
| Modifier and Type | Method and Description |
|---|---|
Range |
Token.getRange() |
Copyright © 2022. All rights reserved.