| Package | Description |
|---|---|
| net.sf.okapi.lib.terminology | |
| net.sf.okapi.lib.terminology.simpletb | |
| net.sf.okapi.lib.verification |
| Modifier and Type | Method and Description |
|---|---|
List<TermHit> |
ITermAccess.getExistingStrings(TextFragment fragment,
LocaleId fragmentLoc,
LocaleId otherLoc) |
List<TermHit> |
ITermAccess.getExistingTerms(TextFragment fragment,
LocaleId fragmentLoc,
LocaleId otherLoc)
Gets the list of all terms of the termbase that exist in a given fragment
for a given source/target pair of locales.
|
| Modifier and Type | Method and Description |
|---|---|
List<TermHit> |
SimpleTBConnector.getExistingStrings(TextFragment fragment,
LocaleId fragmentLocId,
LocaleId otherLocId) |
List<TermHit> |
SimpleTB.getExistingStrings(TextFragment frag,
LocaleId fragmentLoc,
LocaleId otherLoc) |
List<TermHit> |
SimpleTBConnector.getExistingTerms(TextFragment fragment,
LocaleId fragmentLocId,
LocaleId otherLocId) |
List<TermHit> |
SimpleTB.getExistingTerms(TextFragment frag,
LocaleId fragmentLoc,
LocaleId otherLoc) |
| Modifier and Type | Method and Description |
|---|---|
static List<TermHit> |
TermChecker.getExistingTargetStrings(TextFragment frag,
List<TermHit> sourceHits,
boolean betweenCodes) |
static List<TermHit> |
TermChecker.getExistingTargetTerms(TextFragment frag,
List<TermHit> sourceHits)
Get a list of existing target term in a given fragment based on a list of
TermHit object for the source.
|
static List<TermHit> |
TermChecker.removeMatches(List<TermHit> srcList,
List<TermHit> trgList)
Removes from both lists all the entries that are found in the source list and have their
corresponding entry in the target list.
|
| Modifier and Type | Method and Description |
|---|---|
static List<TermHit> |
TermChecker.getExistingTargetStrings(TextFragment frag,
List<TermHit> sourceHits,
boolean betweenCodes) |
static List<TermHit> |
TermChecker.getExistingTargetTerms(TextFragment frag,
List<TermHit> sourceHits)
Get a list of existing target term in a given fragment based on a list of
TermHit object for the source.
|
static List<TermHit> |
TermChecker.removeMatches(List<TermHit> srcList,
List<TermHit> trgList)
Removes from both lists all the entries that are found in the source list and have their
corresponding entry in the target list.
|
static List<TermHit> |
TermChecker.removeMatches(List<TermHit> srcList,
List<TermHit> trgList)
Removes from both lists all the entries that are found in the source list and have their
corresponding entry in the target list.
|
Copyright © 2022. All rights reserved.