| Package | Description |
|---|---|
| net.sf.okapi.lib.xliff2.core |
Classes implementing the object model of a parsed XLIFF document.
|
| net.sf.okapi.lib.xliff2.matches |
Classes to read, write and manipulate the elements and attributes of the
Translation Candidates module.
|
| Modifier and Type | Method and Description |
|---|---|
List<Match> |
Unit.getAllExactMatches()
Retrieves all exact matches from this unit, i.e.
|
List<Match> |
Unit.getMatchesByMinimumSimilarity(double minSim)
Retrieves all matches from this unit with the given minimum similarity.
|
List<Match> |
Unit.getMatchesByRef(String ref)
Retrieves all matches from this unit for the given ref attribute value.
|
List<Match> |
Unit.getMatchesBySimilarityRange(double minSim,
double maxSim)
Retrieves all matches from this unit in the given similarity range.
|
List<Match> |
Unit.getMatchesForSegment(int segIdx)
Retrieves all matches from this unit for the given segment (zero-based index)
|
| Modifier and Type | Method and Description |
|---|---|
static Match |
Match.annotate(Fragment fragment,
int start,
int end,
Match match)
Tries to reuse an existing
mtc:match annotation to add a given match. |
| Modifier and Type | Method and Description |
|---|---|
static Match |
Match.annotate(Fragment fragment,
int start,
int end,
Match match)
Tries to reuse an existing
mtc:match annotation to add a given match. |
| Constructor and Description |
|---|
Match(Match original)
Copy constructor
|
Copyright © 2020. All rights reserved.