public enum MatchType extends Enum<MatchType>
Matches are in ranked order from highest to lowest. Please maintain ranked order when adding new entries.
| Enum Constant and Description |
|---|
ACCEPTED
final, approved human translation.
|
CONCORDANCE
TM concordance or phrase match (usually a word or term only)
|
EXACT
Matches text and codes exactly.
|
EXACT_DOCUMENT_CONTEXT
EXACT and comes from a repeated segment in the same document.
|
EXACT_LOCAL_CONTEXT
EXACT and a small number of segments before and/or after.
|
EXACT_PREVIOUS_VERSION
EXACT and comes from the preceding version of the same document
(i.e., if v4 is leveraged this match must come from v3, not v2 or v1!!).
|
EXACT_REPAIRED
Matches text and codes exactly, but only after the result
of some automated repair (i.e., number replacement, code repair,
capitalization, punctuation etc..)
|
EXACT_STRUCTURAL
EXACT and the structural type of the segment (title, paragraph, list element etc..)
|
EXACT_TEXT_ONLY
Matches text exactly, but there is a difference in one or more codes and/or whitespace
|
EXACT_TEXT_ONLY_PREVIOUS_VERSION
EXACT_TEXT_ONLY and comes from a previous version of the same document
|
EXACT_TEXT_ONLY_UNIQUE_ID
EXACT_TEXT_ONLY and matches with a unique id
|
EXACT_UNIQUE_ID
EXACT and matches a unique id
|
FUZZY
Matches both text and/or codes partially.
|
FUZZY_PREVIOUS_VERSION
FUZZY and comes from a previous version of the same document
|
FUZZY_REPAIRED
Matches both text and/or codes partially and some automated repair
(i.e., number replacement, code repair, capitalization, punctuation etc..)
was applied to the target
|
FUZZY_UNIQUE_ID
Matches FUZZY with a unique id
|
HUMAN_RECOMMENDED
Improved translation edited by a human.
|
MT
Indicates a translation coming from an MT engine.
|
PHRASE_ASSEMBLED
Matches assembled from phrases in the TM or other resource.
|
UKNOWN
Unknown match type.
|
| Modifier and Type | Method and Description |
|---|---|
static MatchType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatchType ACCEPTED
public static final MatchType HUMAN_RECOMMENDED
public static final MatchType EXACT_UNIQUE_ID
public static final MatchType EXACT_PREVIOUS_VERSION
public static final MatchType EXACT_LOCAL_CONTEXT
public static final MatchType EXACT_DOCUMENT_CONTEXT
public static final MatchType EXACT_STRUCTURAL
public static final MatchType EXACT
public static final MatchType EXACT_TEXT_ONLY_UNIQUE_ID
public static final MatchType EXACT_TEXT_ONLY_PREVIOUS_VERSION
public static final MatchType EXACT_TEXT_ONLY
public static final MatchType EXACT_REPAIRED
public static final MatchType FUZZY_UNIQUE_ID
public static final MatchType FUZZY_PREVIOUS_VERSION
public static final MatchType FUZZY
public static final MatchType FUZZY_REPAIRED
public static final MatchType PHRASE_ASSEMBLED
public static final MatchType MT
public static final MatchType CONCORDANCE
public static final MatchType UKNOWN
public static MatchType[] values()
for (MatchType c : MatchType.values()) System.out.println(c);
public static MatchType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.