| Package | Description |
|---|---|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TextUnit.createSourceSegmentation(ISegmenter segmenter) |
void |
ITextUnit.createSourceSegmentation(ISegmenter segmenter)
Segments the default source content based on the rules provided by a given ISegmenter.
|
void |
TextUnit.createTargetSegmentation(ISegmenter segmenter,
LocaleId targetLocale) |
void |
ITextUnit.createTargetSegmentation(ISegmenter segmenter,
LocaleId targetLocale)
Segments the specified target content based on the rules provided by a given ISegmenter.
|
void |
IAlignedSegments.segmentSource(ISegmenter segmenter,
LocaleId targetLocale)
Segments the source content used for the given target locale based on the
rules provided by a given
ISegmenter. |
void |
AlignedSegments.segmentSource(ISegmenter segmenter,
LocaleId targetLocale) |
void |
IAlignedSegments.segmentTarget(ISegmenter segmenter,
LocaleId targetLocale)
Segments the specified target content based on the rules provided by a
given
ISegmenter. |
void |
AlignedSegments.segmentTarget(ISegmenter segmenter,
LocaleId targetLocale) |
| Modifier and Type | Class and Description |
|---|---|
class |
SRXSegmenter
Implements the
ISegmenter interface for SRX rules. |
| Modifier and Type | Method and Description |
|---|---|
ISegmenter |
SRXDocument.compileLanguageRules(LocaleId languageCode,
ISegmenter existingSegmenter)
Compiles the all language rules applicable for a given language code, and
assign them to a segmenter.
|
ISegmenter |
SRXDocument.compileSingleLanguageRule(String ruleName,
ISegmenter existingSegmenter)
Compiles a single language rule group and assign it to a segmenter.
|
| Modifier and Type | Method and Description |
|---|---|
ISegmenter |
SRXDocument.compileLanguageRules(LocaleId languageCode,
ISegmenter existingSegmenter)
Compiles the all language rules applicable for a given language code, and
assign them to a segmenter.
|
ISegmenter |
SRXDocument.compileSingleLanguageRule(String ruleName,
ISegmenter existingSegmenter)
Compiles a single language rule group and assign it to a segmenter.
|
Copyright © 2022. All rights reserved.