| Package | Description |
|---|---|
| net.sf.okapi.common.annotation |
Classes to implement and manage annotations.
|
| net.sf.okapi.common.query |
Helper classes for the translation resources connectors.
|
| Modifier and Type | Method and Description |
|---|---|
MatchType |
AltTranslation.getType()
Gets the type of this alternate translation.
|
| Modifier and Type | Method and Description |
|---|---|
AltTranslation |
AltTranslationsAnnotation.add(LocaleId sourceLocId,
LocaleId targetLocId,
TextFragment originalSource,
TextFragment alternateSource,
TextFragment alternateTarget,
MatchType type,
int combinedScore,
String origin)
Adds a new entry to the list of alternate translations.
|
AltTranslation |
AltTranslationsAnnotation.add(LocaleId sourceLocId,
LocaleId targetLocId,
TextFragment originalSource,
TextFragment alternateSource,
TextFragment alternateTarget,
MatchType type,
int combinedScore,
String origin,
int fuzzyScore,
int qualityScore)
Adds a new entry to the list of alternate translations.
|
void |
AltTranslation.setType(MatchType type)
Sets the match type of this alternate translation.
|
| Constructor and Description |
|---|
AltTranslation(LocaleId sourceLocId,
LocaleId targetLocId,
TextFragment originalSource,
TextFragment alternateSource,
TextFragment alternateTarget,
MatchType type,
int combinedScore,
String origin)
Creates a new AltTranslation object.
|
AltTranslation(LocaleId sourceLocId,
LocaleId targetLocId,
TextFragment originalSource,
TextFragment alternateSource,
TextFragment alternateTarget,
MatchType type,
int combinedScore,
String origin,
int fuzzyScore,
int qualityScore)
Creates a new AltTranslation object.
|
| Modifier and Type | Field and Description |
|---|---|
MatchType |
QueryResult.matchType
MatchType of this result. |
| Modifier and Type | Method and Description |
|---|---|
static MatchType |
MatchType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatchType[] |
MatchType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2021. All rights reserved.