public class GMX extends Object
http://www.xtm-intl.com/manuals/gmx-v/GMX-V-2.0.html,
http://www.etsi.org/deliver/etsi_gs/LIS/001_099/004/02.00.00_60/gs_LIS004v020000p.pdf| Modifier and Type | Field and Description |
|---|---|
static String |
AlphaNumericAutoTextCharacterCount
An accumulation of the character count for identifiable alphanumeric words, e.g.
|
static String |
AlphaNumericAutoTextWordCount
An accumulation of the word count for identifiable alphanumeric words, e.g.
|
static String |
AlphanumericOnlyTextUnitCharacterCount
An accumulation of the character count for text units that have been identified as
containing only alphanumeric words.
|
static String |
AlphanumericOnlyTextUnitWordCount
An accumulation of the word count for text units that have been identified as containing
only alphanumeric words.
|
static String |
ComplexNumericAutoTextCharacterCount
An accumulation of the character count for complex numeric values which include decimal
and/or thousands separators, e.g.
|
static String |
ComplexNumericAutoTextWordCount
An accumulation of the word count for complex numeric values which include decimal
and/or thousands separators, e.g.
|
static String |
DateAutoTextCharacterCount
An accumulation of the character count for identifiable dates, e.g.
|
static String |
DateAutoTextWordCount
An accumulation of the word count for identifiable dates, e.g.
|
static String |
ExactMatchedCharacterCount
An accumulation of the character count for text units that have been matched unambiguously
with a prior translation and require no translator input.
|
static String |
ExactMatchedWordCount
An accumulation of the word count for text units that have been matched unambiguously with a
prior translation and thus require no translator input.
|
static String |
extNamePrefix |
static String |
FileCount
The total number of files.
|
static String |
FuzzyMatchedCharacterCount
An accumulation of the character count for text units that have a fuzzy match against a
leveraged translation memory database.
|
static String |
FuzzyMatchedWordCount
An accumulation of the word count for text units that have been fuzzy matched against a
leveraged translation memory database.
|
static String |
LeveragedMatchedCharacterCount
An accumulation of the character count for text units that have been matched against a
leveraged translation memory database.
|
static String |
LeveragedMatchedWordCount
An accumulation of the word count for text units that have been matched against a leveraged
translation memory database.
|
static String |
MeasurementAutoTextCharacterCount
An accumulation of the character count for identifiable measurement values, e.g.
|
static String |
MeasurementAutoTextWordCount
An accumulation of the word count for identifiable measurement values, e.g.
|
static String |
MeasurementOnlyTextUnitCharacterCount
An accumulation of the character count from measurement-only text units.
|
static String |
MeasurementOnlyTextUnitWordCount
An accumulation of the word count from measurement-only text units.
|
static String |
NumericOnlyTextUnitCharacterCount
An accumulation of the character count for text units that have been identified as
containing only numeric words.
|
static String |
NumericOnlyTextUnitWordCount
An accumulation of the word count for text units that have been identified as containing
only numeric words.
|
static String |
OverallCharacterCount
The total of all of the three main character counts (TotalCharacterCount +
PunctuationCharacterCount + WhiteSpaceCharacterCount) in the canonical form of the text units in
the document.
|
static String |
PageCount
The total number of pages.
|
static String |
ProjectFuzzyMatchedCharacterCount
The character count for fuzzy matched text within all files within a given project.
|
static String |
ProjectFuzzyMatchedWordCount
The word count for fuzzy matched text units within all files within a given project.
|
static String |
ProjectRepetionMatchedCharacterCount
The character count for text that is identical within all files within a given project.
|
static String |
ProjectRepetionMatchedWordCount
The word count for text units that are identical within all files within a given project.
|
static String |
ProtectedCharacterCount
An accumulation of the character count for text that has been marked as 'protected', or
otherwise not translatable (XLIFF text enclosed in
|
static String |
ProtectedWordCount
An accumulation of the word count for text that has been marked as 'protected', or otherwise
not translatable (XLIFF text enclosed in
|
static String |
PunctuationCharacterCount
The total of all punctuation characters in the canonical form of text in the document that
DO NOT form part of the character count as per section 2.10.
|
static String |
RepetitionMatchedCharacterCount
An accumulation of the character count for repeating text units that have not been matched
in any other form.
|
static String |
RepetitionMatchedWordCount
An accumulation of the word count for repeating text units that have not been matched in any
other form.
|
static String |
ScreenCount
A count of the total number of screens.
|
static String |
SimpleNumericAutoTextCharacterCount
An accumulation of the character count for simple numeric values, e.g.
|
static String |
SimpleNumericAutoTextWordCount
An accumulation of the word count for simple numeric values, e.g.
|
static String |
TextUnitCount
The total number of text units.
|
static String |
TMAutoTextCharacterCount
An accumulation of the character count for identifiable trade marks, e.g.
|
static String |
TMAutoTextWordCount
An accumulation of the word count for identifiable trade marks, e.g.
|
static String |
TotalCharacterCount
An accumulation of the character counts, both translatable and non-translatable, from the
individual text units that make up the document.
|
static String |
TotalWordCount
Total word count - an accumulation of the word counts, both translatable and non-translatable,
from the individual text units that make up the document.
|
static String |
TranslatableInlineCount
The actual non-linking inline element count for unqualified (see Section 2.14.2
Unqualified Text Units) text units.
|
static String |
TranslatableLinkingInlineCount
The actual linking inline element count for unqualified (see Section 2.14.2 Unqualified
Text Units) text units.
|
static String |
WhiteSpaceCharacterCount
The total of all white space characters in the canonical form of the text units in the document.
|
| Constructor and Description |
|---|
GMX() |
| Modifier and Type | Method and Description |
|---|---|
static double |
getCharacterCountFactor(LocaleId language)
For "logographic" languages, GMX-V 2.0 defines factors by which the character count
should be divided in order to yield the word count.
|
static boolean |
isLogographicScript(LocaleId locId)
Indicates whether or not the language is considered a "logographic" language per
the GMX-V 2.0 spec.
|
public static final String extNamePrefix
public static final String TotalWordCount
public static final String ProtectedWordCount
public static final String ExactMatchedWordCount
public static final String LeveragedMatchedWordCount
public static final String RepetitionMatchedWordCount
public static final String FuzzyMatchedWordCount
public static final String AlphanumericOnlyTextUnitWordCount
public static final String NumericOnlyTextUnitWordCount
public static final String MeasurementOnlyTextUnitWordCount
public static final String SimpleNumericAutoTextWordCount
public static final String ComplexNumericAutoTextWordCount
public static final String MeasurementAutoTextWordCount
public static final String AlphaNumericAutoTextWordCount
public static final String DateAutoTextWordCount
public static final String TMAutoTextWordCount
public static final String TotalCharacterCount
public static final String PunctuationCharacterCount
public static final String WhiteSpaceCharacterCount
public static final String OverallCharacterCount
public static final String ProtectedCharacterCount
public static final String ExactMatchedCharacterCount
public static final String LeveragedMatchedCharacterCount
public static final String RepetitionMatchedCharacterCount
public static final String FuzzyMatchedCharacterCount
public static final String AlphanumericOnlyTextUnitCharacterCount
public static final String NumericOnlyTextUnitCharacterCount
public static final String MeasurementOnlyTextUnitCharacterCount
public static final String SimpleNumericAutoTextCharacterCount
public static final String ComplexNumericAutoTextCharacterCount
public static final String MeasurementAutoTextCharacterCount
public static final String AlphaNumericAutoTextCharacterCount
public static final String DateAutoTextCharacterCount
public static final String TMAutoTextCharacterCount
public static final String TranslatableInlineCount
public static final String TranslatableLinkingInlineCount
public static final String TextUnitCount
public static final String FileCount
public static final String PageCount
public static final String ScreenCount
public static final String ProjectRepetionMatchedWordCount
public static final String ProjectFuzzyMatchedWordCount
public static final String ProjectRepetionMatchedCharacterCount
public static final String ProjectFuzzyMatchedCharacterCount
public static boolean isLogographicScript(LocaleId locId)
true, word counts for this language are defined as
(character count / getCharacterCountFactor(LocaleId)), unless the character
count factor is -1d in which case word counts are not meaningful for
the language.http://www.xtm-intl.com/manuals/gmx-v/GMX-V-2.0.html#LogographicScriptspublic static double getCharacterCountFactor(LocaleId language)
Returns -1d if the language does not have a factor. If this method returns
-1d and isLogographicScript(LocaleId) returns true,
then word counts are not meaningful for this language.
http://www.xtm-intl.com/manuals/gmx-v/GMX-V-2.0.html#LogographicScriptsCopyright © 2021. All rights reserved.