| Modifier and Type | Field and Description |
|---|---|
static LocaleId |
IPredefinedLocales.Afrikaans |
static LocaleId |
IPredefinedLocales.Albanian |
static LocaleId |
LocaleId.ALL |
static LocaleId |
IPredefinedLocales.Amharic |
static LocaleId |
LocaleId.ARABIC
LocaleId constant for "ar".
|
static LocaleId |
IPredefinedLocales.Armenian |
static LocaleId |
LocaleId.AUTODETECT
Same as EMPTY, but reminds the user that some components
use EMPTY as a setting to enable locale auto detection.
|
static LocaleId |
IPredefinedLocales.Aymara |
static LocaleId |
IPredefinedLocales.Basque |
static LocaleId |
IPredefinedLocales.Bikolano |
static LocaleId |
IPredefinedLocales.Bislama |
static LocaleId |
IPredefinedLocales.Bulgarian |
static LocaleId |
IPredefinedLocales.Burmese |
static LocaleId |
IPredefinedLocales.Cebuano |
static LocaleId |
LocaleId.CHINA_CHINESE
LocaleId constant for "zh-cn".
|
static LocaleId |
IPredefinedLocales.Chuukese |
static LocaleId |
IPredefinedLocales.Croatian |
static LocaleId |
IPredefinedLocales.Czech |
static LocaleId |
IPredefinedLocales.Danish |
static LocaleId |
IPredefinedLocales.Dutch |
static LocaleId |
IPredefinedLocales.Efik |
static LocaleId |
LocaleId.EMPTY
An empty locale.
|
static LocaleId |
LocaleId.ENGLISH
LocaleId constant for "en".
|
static LocaleId |
IPredefinedLocales.Estonian |
static LocaleId |
IPredefinedLocales.Fante |
static LocaleId |
IPredefinedLocales.Fijian |
static LocaleId |
IPredefinedLocales.Finnish |
static LocaleId |
LocaleId.FRENCH
LocaleId constant for "fr".
|
static LocaleId |
IPredefinedLocales.Georgian |
static LocaleId |
LocaleId.GERMAN
LocaleId constant for "de".
|
static LocaleId |
IPredefinedLocales.Greek |
static LocaleId |
IPredefinedLocales.Guarani |
static LocaleId |
IPredefinedLocales.Haitian |
static LocaleId |
LocaleId.HEBREW
LocaleId constant for "he".
|
static LocaleId |
IPredefinedLocales.Hiligaynon |
static LocaleId |
IPredefinedLocales.Hindi |
static LocaleId |
IPredefinedLocales.Hindi_Fiji |
static LocaleId |
IPredefinedLocales.Hmong |
static LocaleId |
IPredefinedLocales.Hungarian |
static LocaleId |
IPredefinedLocales.Iban |
static LocaleId |
IPredefinedLocales.Icelandic |
static LocaleId |
IPredefinedLocales.Igbo |
static LocaleId |
IPredefinedLocales.Ilocano |
static LocaleId |
IPredefinedLocales.Indonesian |
static LocaleId |
LocaleId.ITALIAN
LocaleId constant for "it".
|
static LocaleId |
LocaleId.JAPANESE
LocaleId constant for "ja".
|
static LocaleId |
IPredefinedLocales.Kannada |
static LocaleId |
IPredefinedLocales.Kazakh |
static LocaleId |
IPredefinedLocales.Kekchi |
static LocaleId |
IPredefinedLocales.Khmer |
static LocaleId |
IPredefinedLocales.Kirghiz |
static LocaleId |
IPredefinedLocales.Kiribati |
static LocaleId |
IPredefinedLocales.Korean |
static LocaleId |
LocaleId.KOREAN
LocaleId constant for "ko".
|
static LocaleId |
IPredefinedLocales.Kosraean |
static LocaleId |
IPredefinedLocales.Lao |
static LocaleId |
IPredefinedLocales.Latvian |
static LocaleId |
IPredefinedLocales.Lingala |
static LocaleId |
IPredefinedLocales.Lithuanian |
static LocaleId |
IPredefinedLocales.Macedonian |
static LocaleId |
IPredefinedLocales.Malagasy |
static LocaleId |
IPredefinedLocales.Malay_Malaysia |
static LocaleId |
IPredefinedLocales.Malayalam |
static LocaleId |
IPredefinedLocales.Maltese |
static LocaleId |
IPredefinedLocales.Mam |
static LocaleId |
IPredefinedLocales.Marshallese |
static LocaleId |
IPredefinedLocales.Mongolian |
static LocaleId |
IPredefinedLocales.Navajo |
static LocaleId |
IPredefinedLocales.Neomelanesian |
static LocaleId |
IPredefinedLocales.Norwegian |
static LocaleId |
IPredefinedLocales.Palauan |
static LocaleId |
IPredefinedLocales.Pohnpeian |
static LocaleId |
IPredefinedLocales.Polish |
static LocaleId |
LocaleId.PORTUGUESE
LocaleId constant for "pt".
|
static LocaleId |
IPredefinedLocales.Quechua |
static LocaleId |
IPredefinedLocales.Quichua |
static LocaleId |
IPredefinedLocales.Rarotongan |
static LocaleId |
IPredefinedLocales.Romanian |
static LocaleId |
LocaleId.RUSSIAN
LocaleId constant for "ru".
|
static LocaleId |
IPredefinedLocales.Rwanda |
static LocaleId |
IPredefinedLocales.Samoan |
static LocaleId |
IPredefinedLocales.Serbian |
static LocaleId |
IPredefinedLocales.Shona |
static LocaleId |
IPredefinedLocales.Slovak |
static LocaleId |
IPredefinedLocales.Slovenian |
static LocaleId |
IPredefinedLocales.South_Sotho |
static LocaleId |
LocaleId.SPANISH
LocaleId constant for "es".
|
static LocaleId |
IPredefinedLocales.Swahili |
static LocaleId |
IPredefinedLocales.Swedish |
static LocaleId |
IPredefinedLocales.Tagalog |
static LocaleId |
IPredefinedLocales.Tahitian |
static LocaleId |
LocaleId.TAIWAN_CHINESE
LocaleId constant for "zh-tw".
|
static LocaleId |
IPredefinedLocales.Thai |
static LocaleId |
IPredefinedLocales.Tongan |
static LocaleId |
IPredefinedLocales.Tswana |
static LocaleId |
IPredefinedLocales.Turkish |
static LocaleId |
IPredefinedLocales.Twi |
static LocaleId |
IPredefinedLocales.Ukrainian |
static LocaleId |
LocaleId.US_ENGLISH
LocaleId constant for "en-US".
|
static LocaleId |
IPredefinedLocales.Vietnamese |
static LocaleId |
IPredefinedLocales.Waray |
static LocaleId |
IPredefinedLocales.Xhosa |
static LocaleId |
IPredefinedLocales.Yapese |
static LocaleId |
IPredefinedLocales.Yoruba |
static LocaleId |
IPredefinedLocales.Yupik |
static LocaleId |
IPredefinedLocales.Zulu |
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
LocaleId.clone()
Returns a clone of this LocaleId.
|
static LocaleId |
LocaleId.fromBCP47(String langtag)
Creates a new LocaleId from a BCP-47 language tag.
|
static LocaleId |
LocaleId.fromBCP47(String langtag,
boolean strict)
Creates a new LocaleId from a BCP-47 language tag.
|
static LocaleId |
LocaleId.fromPOSIXLocale(String locId)
Creates a new LocaleId from a POSIX locale identifier.
|
static LocaleId |
LocaleId.fromString(String locId)
Creates a new LocaleId from a locale identifier (and validate it).
|
static LocaleId[] |
LocaleId.getAvailableLocales()
Gets an array of the LocaleId objects for all the Java locales installed on the system.
|
LocaleId |
ISegmenter.getLanguage()
Gets the language used to apply the rules.
|
static LocaleId |
LCIDUtil.getLocaleId(int lcid)
Creates a locale id for a given LCID value.
|
static LocaleId |
LCIDUtil.getLocaleId(String tag)
Creates a locale id for a given language tag.
|
LocaleId |
LocalePair.source()
Obtains the source locale.
|
LocaleId |
DefaultLocalePair.source() |
LocaleId |
LocalePair.target()
Obtains the target locale.
|
LocaleId |
DefaultLocalePair.target() |
| Modifier and Type | Method and Description |
|---|---|
static List<LocaleId> |
LocaleId.convertToLocaleIds(List<String> languageCodes)
Converts a list of language codes into
LocaleIds |
Set<LocaleId> |
LocaleFilter.filter(LocaleId... localeIds)
Creates a subset of the locales from a given array, which are allowed by this locale filter.
|
List<LocaleId> |
LocaleFilter.getExcludes()
Gets a list of disallowed locales.
|
List<LocaleId> |
LocaleFilter.getIncludes()
Gets a list of allowed locales.
|
static List<LocaleId> |
ListUtil.stringAsLanguageList(String input)
Splits up a string of comma-separated substrings representing locale codes into a
string list of
LocaleId objects. |
| Modifier and Type | Method and Description |
|---|---|
static LocaleFilter |
LocaleFilter.anyExcept(LocaleId... localeIds)
Creates a filter filtering out the given locales.
|
static LocaleFilter |
LocaleFilter.anyOf(LocaleId... localeIds)
Creates a filter allowing only the given locales.
|
LocaleFilter |
LocaleFilter.exclude(LocaleId... localeIds)
Disallows the locales from a given array of locales.
|
LocaleFilter |
LocaleFilter.exclude(LocaleId localeId)
Disallows a given locale.
|
Set<LocaleId> |
LocaleFilter.filter(LocaleId... localeIds)
Creates a subset of the locales from a given array, which are allowed by this locale filter.
|
static String |
LCIDUtil.getLCID_asString(LocaleId locId)
Gets the LCID as a string, for a given locale id.
|
static int |
LCIDUtil.getLCID(LocaleId locId)
Gets the LCID for a given locale id.
|
static String |
FileUtil.getLocaleBasedFile(String baseName,
String extension,
LocaleId locale)
Return a path to a locale based resource using the standard java property resource resolution.
|
static String |
LCIDUtil.getTag(LocaleId locId)
Gets the language tag for a given locale id.
|
static boolean |
LocaleId.hasCharactersAsNumeralSeparators(LocaleId localeId)
Checks whether the specified locale has characters as numeral separators.
|
LocaleFilter |
LocaleFilter.include(LocaleId... localeIds)
Allows the locales from a given array of locales.
|
LocaleFilter |
LocaleFilter.include(LocaleId localeId)
Allows a given locale.
|
static boolean |
LocaleId.isBidirectional(LocaleId locId)
Indicates if a given locale usually uses a bi-directional script.
|
static boolean |
Util.isNullOrEmpty(LocaleId locale)
Indicates if a locale id is null or empty.
|
boolean |
LocaleFilter.matches(LocaleId localeId)
Returns true if a given locale is allowed by this locale filter.
|
static void |
RenumberingUtil.renumberTextUnitCodes(ITextUnit tu,
LocaleId trgLocale)
Renumber the codes in the TextUnit's source container, then align with
the codes in the target.
|
static String |
LocaleId.replaceVariables(String input,
LocaleId srcLoc,
LocaleId trgLoc)
Replaces the locale/language variables in a given input string by their runtime values.
|
boolean |
LocaleId.sameLanguageAs(LocaleId other)
Indicates if the language of a given LocaleId is the same as the one of this LocaleId.
|
boolean |
LocaleId.sameRegionAs(LocaleId other)
Indicates if the region of a given LocaleId is the same as the one of this LocaleId.
|
boolean |
LocaleId.sameUserPartAs(LocaleId other)
Indicates if the user part of a given LocaleId is the same as the one of this LocaleId.
|
void |
ISegmenter.setLanguage(LocaleId locale)
Sets the locale used to apply the rules.
|
| Modifier and Type | Method and Description |
|---|---|
LocaleFilter |
LocaleFilter.exclude(List<LocaleId> localeIds)
Disallows the locales from a given list of locales.
|
LocaleFilter |
LocaleFilter.exclude(Set<LocaleId> localeIds)
Disallows the locales from a given set of locales.
|
LocaleFilter |
LocaleFilter.include(List<LocaleId> localeIds)
Allows the locales from a given list of locales.
|
LocaleFilter |
LocaleFilter.include(Set<LocaleId> localeIds)
Allows the locales from a given set of locales.
|
| Constructor and Description |
|---|
DefaultLocalePair(LocaleId source,
LocaleId target) |
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
AltTranslation.getSourceLocale()
Gets the source locale for this entry.
|
LocaleId |
AltTranslation.getTargetLocale()
Gets the target locale for this entry.
|
| 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.setTarget(LocaleId targetLocId,
TextFragment alternateTarget)
Sets the target parts 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 |
|---|---|
protected LocaleId |
AbstractLineFilter.srcLang |
protected LocaleId |
AbstractLineFilter.trgLang |
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
AbstractFilter.getSrcLoc()
Gets the input document source locale.
|
LocaleId |
EventBuilder.getTargetLocale()
Get the current target locale.
|
protected LocaleId |
AbstractLineFilter.getTargetLocale() |
LocaleId |
AbstractFilter.getTrgLoc() |
| Modifier and Type | Method and Description |
|---|---|
void |
SubFilterSkeletonWriter.TargetOutputs.add(LocaleId localeId,
StringBuilder stringBuilder) |
void |
SubFilterSkeletonWriter.TargetOutputs.Default.add(LocaleId localeId,
StringBuilder stringBuilder) |
void |
EventBuilder.addToTextUnit(Code code,
boolean endCodeNow,
LocaleId locale,
List<PropertyTextUnitPlaceholder> propertyTextUnitPlaceholders)
|
void |
SubFilterSkeletonWriter.TargetOutputs.appendTo(LocaleId localeId,
String text) |
void |
SubFilterSkeletonWriter.TargetOutputs.Default.appendTo(LocaleId localeId,
String text) |
Ending |
EventBuilder.endGroup(GenericSkeleton endMarker,
LocaleId locale,
List<PropertyTextUnitPlaceholder> propertyTextUnitPlaceholders)
|
ITextUnit |
EventBuilder.endTextUnit(GenericSkeleton endMarker,
LocaleId locale,
List<PropertyTextUnitPlaceholder> propertyTextUnitPlaceholders)
|
String |
SubFilterSkeletonWriter.getEncodedOutput(LocaleId locToUse) |
StringBuilder |
SubFilterSkeletonWriter.TargetOutputs.outputFor(LocaleId localeId) |
StringBuilder |
SubFilterSkeletonWriter.TargetOutputs.Default.outputFor(LocaleId localeId) |
String |
SubFilterSkeletonWriter.processStartDocument(LocaleId outputLocale,
String outputEncoding,
ILayerProvider layer,
EncoderManager encoderManager,
StartDocument resource) |
void |
AbstractFilter.setOptions(LocaleId sourceLocale,
LocaleId targetLocale,
String defaultEncoding,
boolean generateSkeleton)
|
SubFilterSkeletonWriter |
SubFilterSkeletonWriter.setOptions(LocaleId outputLocale,
String outputEncoding,
StartSubfilter startSubfilter,
ILayerProvider layer) |
void |
AbstractFilter.setSrcLoc(LocaleId srcLoc)
Sets the input document source locale.
|
void |
EventBuilder.setTargetLocale(LocaleId targetLocale)
Set the target locale.
|
void |
AbstractFilter.setTrgLoc(LocaleId trgLoc) |
void |
EventBuilder.startDocumentPart(String part,
String name,
LocaleId locale,
List<PropertyTextUnitPlaceholder> propertyTextUnitPlaceholders)
Create a
DocumentPart that references actionable (i.e., translatable, localizable) properties and store
it for later processing. |
StartGroup |
EventBuilder.startGroup(GenericSkeleton startMarker,
String commonTagType,
LocaleId locale,
List<PropertyTextUnitPlaceholder> propertyTextUnitPlaceholders)
Create a
StartGroup Event and add it to the event queue. |
void |
EventBuilder.startTextUnit(String text,
GenericSkeleton startMarker,
LocaleId locale,
List<PropertyTextUnitPlaceholder> propertyTextUnitPlaceholders)
Start a complex
TextUnit with actionable (translatable, writable or read-only) attributes. |
| Constructor and Description |
|---|
Default(Map<LocaleId,StringBuilder> outputs) |
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
ZipFilterWriter.getLocale() |
LocaleId |
GenericFilterWriter.getLocale() |
LocaleId |
TMXWriter.getSrcLoc() |
LocaleId |
TMXWriter.getTrgLoc() |
| Modifier and Type | Method and Description |
|---|---|
void |
XLIFFWriter.create(String xliffPath,
String skeletonPath,
LocaleId srcLoc,
LocaleId trgLoc,
String dataType,
String original,
String message)
Creates a new XLIFF document.
|
void |
ITSContent.outputAnnotations(GenericAnnotations anns,
StringBuilder output,
boolean inline,
boolean mrk,
boolean mtypeNeeded,
LocaleId trgLocId)
Generates the markup for the ITS attributes for a given annotation set.
|
protected void |
GenericFilterWriter.processStartDocument(LocaleId outputLocale,
String outputEncoding,
StartDocument resource) |
protected void |
GenericFilterWriter.setLocale(LocaleId locale) |
void |
ZipFilterWriter.setOptions(LocaleId locale,
String defaultEncoding) |
void |
XLIFFWriter.setOptions(LocaleId locale,
String defaultEncoding) |
void |
TMXFilterWriter.setOptions(LocaleId locale,
String defaultEncoding)
Sets the options for this writer.
|
void |
IFilterWriter.setOptions(LocaleId locale,
String defaultEncoding)
Sets the options for this writer.
|
void |
GenericFilterWriter.setOptions(LocaleId locale,
String defaultEncoding) |
void |
TMXWriter.setSrcLoc(LocaleId srcLoc) |
void |
TMXWriter.setTrgLoc(LocaleId trgLoc) |
String |
XLIFFContent.toSegmentedString(TextContainer container,
int quoteMode,
boolean escapeGT,
boolean withMarkers,
boolean gMode,
boolean codeAttrs,
boolean includeIts,
LocaleId trgLocId)
Generates an XLIFF string from a given text container.
|
String |
XLIFFContent.toString(int quoteMode,
boolean escapeGT,
boolean codeOnlyMode,
boolean gMode,
boolean codeAttrs,
boolean includeIts,
LocaleId trgLocId)
Generates an XLIFF string from the content.
|
void |
TMXWriter.writeAlternates(ITextUnit tu,
LocaleId trgLoc)
Writes the entries of an
AltTranslationsAnnotation
annotation(s) of a given text unit to the TMX document. |
void |
TMXWriter.writeStartDocument(LocaleId sourceLocale,
LocaleId targetLocale,
String creationTool,
String creationToolVersion,
String segType,
String originalTMFormat,
String dataType)
Writes the start of the TMC document.
|
void |
TMXWriter.writeStartDocument(StartDocument startDocument,
LocaleId sourceLocale,
LocaleId targetLocale,
String creationTool,
String creationToolVersion,
String segType,
String originalTMFormat,
String dataType)
Writes the start of the TMC document.
|
void |
TMXWriter.writeTU(TextFragment source,
TextFragment target,
String tuid,
Map<String,String> attributes,
LocaleId altTrgLoc)
Writes a TMX TU element.
|
void |
TMXWriter.writeTUFull(ITextUnit item,
LocaleId sourceLocId)
Writes a TextUnit (all targets) with all the properties associated to it.
|
protected void |
TMXWriter.writeTUV(TextFragment frag,
LocaleId locale,
TextContainer contForProp)
Writes a TUV element.
|
| Modifier and Type | Method and Description |
|---|---|
default LocaleId |
IPipelineStep.getSourceLocale()
Delegate to concrete class
|
LocaleId |
BasePipelineStep.getSourceLocale() |
default LocaleId |
IPipelineStep.getTargetLocale()
Delegate to concrete class
|
LocaleId |
BasePipelineStep.getTargetLocale() |
| Modifier and Type | Method and Description |
|---|---|
default void |
IPipelineStep.setSourceLocale(LocaleId sourceLocale)
Delegate to concrete class
|
void |
BasePipelineStep.setSourceLocale(LocaleId sourceLocale) |
default void |
IPipelineStep.setTargetLocale(LocaleId targetLocale) |
void |
BasePipelineStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
XBatch |
XBatch.addItem(String dir,
String file,
String defaultEncoding,
LocaleId sourceLocale,
LocaleId targetLocale) |
XBatch |
XBatch.addItem(String dir,
String file,
String defaultEncoding,
URI outputURI,
String outputEncoding,
LocaleId sourceLocale,
LocaleId targetLocale) |
XBatch |
XBatch.addItems(String dir,
String[] fileList,
String defaultEncoding,
LocaleId sourceLocale,
LocaleId targetLocale) |
XBatch |
XBatch.addItems(String dir,
String[] fileList,
String defaultEncoding,
URI outputURI,
String outputEncoding,
LocaleId sourceLocale,
LocaleId targetLocale) |
| Constructor and Description |
|---|
XBatchItem(CharSequence inputCharSequence,
LocaleId sourceLocale) |
XBatchItem(InputStream inputStream,
String defaultEncoding,
LocaleId sourceLocale) |
XBatchItem(InputStream inputStream,
String defaultEncoding,
LocaleId sourceLocale,
LocaleId targetLocale) |
XBatchItem(InputStream inputStream,
String defaultEncoding,
String outputPath,
String outputEncoding,
LocaleId sourceLocale,
LocaleId targetLocale) |
XBatchItem(URI inputURI,
String defaultEncoding,
LocaleId sourceLocale) |
XBatchItem(URI inputURI,
String defaultEncoding,
LocaleId sourceLocale,
LocaleId targetLocale) |
XBatchItem(URI inputURI,
String defaultEncoding,
String filterConfigId,
URI outputURI,
String outputEncoding,
LocaleId sourceLocale,
LocaleId targetLocale) |
XBatchItem(URI inputURI,
String defaultEncoding,
URI outputURI,
String outputEncoding,
LocaleId sourceLocale,
LocaleId targetLocale) |
XBatchItem(URL inputURL,
String defaultEncoding,
LocaleId sourceLocale) |
XBatchItem(URL inputURL,
String defaultEncoding,
LocaleId sourceLocale,
LocaleId targetLocale) |
XBatchItem(URL inputURL,
String defaultEncoding,
String outputPath,
String outputEncoding,
LocaleId sourceLocale,
LocaleId targetLocale) |
XBatchItem(URL inputURL,
String defaultEncoding,
URL outputURL,
String outputEncoding,
LocaleId sourceLocale,
LocaleId targetLocale) |
XDocument(CharSequence inputCharSequence,
LocaleId sourceLocale) |
XDocument(InputStream inputStream,
String defaultEncoding,
LocaleId sourceLocale) |
XDocument(InputStream inputStream,
String defaultEncoding,
LocaleId sourceLocale,
LocaleId targetLocale) |
XDocument(InputStream inputStream,
String defaultEncoding,
String outputPath,
String outputEncoding,
LocaleId sourceLocale,
LocaleId targetLocale) |
XDocument(URI inputURI,
String defaultEncoding,
LocaleId sourceLocale) |
XDocument(URI inputURI,
String defaultEncoding,
LocaleId sourceLocale,
LocaleId targetLocale) |
XDocument(URI inputURI,
String defaultEncoding,
LocaleId sourceLocale,
LocaleId targetLocale,
String filterConfigId) |
XDocument(URI inputURI,
String defaultEncoding,
String filterConfigId,
URI outputURI,
String outputEncoding,
LocaleId sourceLocale,
LocaleId targetLocale) |
XDocument(URI inputURI,
String defaultEncoding,
URI outputURI,
String outputEncoding,
LocaleId sourceLocale,
LocaleId targetLocale) |
XDocument(URL inputURL,
String defaultEncoding,
LocaleId sourceLocale) |
XDocument(URL inputURL,
String defaultEncoding,
LocaleId sourceLocale,
LocaleId targetLocale) |
XDocument(URL inputURL,
String defaultEncoding,
String outputPath,
String outputEncoding,
LocaleId sourceLocale,
LocaleId targetLocale) |
XDocument(URL inputURL,
String defaultEncoding,
URL outputURL,
String outputEncoding,
LocaleId sourceLocale,
LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
IBatchItemContext.getSourceLocale(int index)
Gets the source locale for a given input document of this batch item.
|
LocaleId |
BatchItemContext.getSourceLocale(int index) |
LocaleId |
IBatchItemContext.getTargetLocale(int index)
Gets the target locale for a given input document of this batch item.
|
LocaleId |
BatchItemContext.getTargetLocale(int index) |
| Modifier and Type | Method and Description |
|---|---|
void |
PipelineDriver.addBatchItem(URI inputURI,
String defaultEncoding,
String filterConfigId,
LocaleId srcLoc,
LocaleId trgLoc) |
void |
IPipelineDriver.addBatchItem(URI inputURI,
String defaultEncoding,
String filterConfigId,
LocaleId srcLoc,
LocaleId trgLoc)
Adds an item to this batch, using direct parameters.
|
| Constructor and Description |
|---|
BatchItemContext(URI inputURI,
String defaultEncoding,
String filterConfigId,
URI outputURI,
String outputEncoding,
LocaleId sourceLocale,
LocaleId targetLocale)
Creates a new BatchItemContext object and initializes it based on a given
input URI and additional arguments.
|
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
IQuery.getSourceLanguage()
Gets the current source language for this query engine.
|
LocaleId |
IQuery.getTargetLanguage()
Gets the current target language for this query engine.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IQuery.setLanguages(LocaleId sourceLocale,
LocaleId targetLocale)
Sets the source and target languages for this query engine.
|
AltTranslation |
QueryResult.toAltTranslation(TextFragment originalSource,
LocaleId sourceLocId,
LocaleId targetLocId)
Convert a QueryResult to an
AltTranslation |
| Modifier and Type | Field and Description |
|---|---|
protected LocaleId |
StartDocument.locale |
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
StartSubfilter.getLocale() |
LocaleId |
StartDocument.getLocale()
Gets the locale of this document.
|
LocaleId |
AlignedPair.getLocaleId()
Gets the
LocaleId of the target parts |
LocaleId |
RawDocument.getSourceLocale()
Gets the source locale associated to this resource.
|
LocaleId |
PipelineParameters.getSourceLocale() |
LocaleId |
RawDocument.getTargetLocale()
Gets the target locale associated to this resource.
|
LocaleId |
PipelineParameters.getTargetLocale() |
| Modifier and Type | Method and Description |
|---|---|
Set<LocaleId> |
TargetPropertiesAnnotation.getLocales()
Gets a set of the target locales available in this annotation.
|
Set<LocaleId> |
TextUnit.getTargetLocales() |
List<LocaleId> |
RawDocument.getTargetLocales()
Gets the list of target locales associated to this resource.
|
List<LocaleId> |
PipelineParameters.getTargetLocales() |
default Set<LocaleId> |
IWithTargetProperties.getTargetLocales()
Gets all the target locales for this resource.
|
Iterator<LocaleId> |
TargetPropertiesAnnotation.iterator()
Gets a new iterator for this annotation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IAlignedSegments.align(List<AlignedPair> alignedSegmentPairs,
LocaleId trgLoc)
Aligns all the segments listed in the aligned pairs for given locale.
|
void |
AlignedSegments.align(List<AlignedPair> alignedSegmentPairs,
LocaleId trgLoc) |
void |
IAlignedSegments.align(LocaleId trgLoc)
Aligns all the target segments with the source segments for the given
locale.
|
void |
AlignedSegments.align(LocaleId trgLoc)
Force one to one alignment.
|
void |
IAlignedSegments.alignCollapseAll(LocaleId trgLoc)
Aligns all the segments for the specified sources and targets by
collapsing all segments into one.
|
void |
AlignedSegments.alignCollapseAll(LocaleId trgLoc) |
void |
IAlignedSegments.append(Segment srcSeg,
Segment trgSeg,
LocaleId trgLoc)
Adds given source and target segments to the end of the content.
|
void |
AlignedSegments.append(Segment srcSeg,
Segment trgSeg,
LocaleId trgLoc) |
static ITextUnit |
TextUnitUtil.buildGenericTU(ITextUnit textUnit,
String name,
TextContainer source,
TextContainer target,
LocaleId locId,
String comment)
Creates a new generic text unit resource or updates the one passed as the parameter.
|
SubFilterSkeletonWriter |
StartSubfilter.createSkeletonWriter(StartSubfilter resource,
LocaleId outputLocale,
String outputEncoding,
ILayerProvider layer) |
TextContainer |
TextUnit.createTarget(LocaleId targetLocale,
boolean overwriteExisting,
int creationOptions) |
TextContainer |
ITextUnit.createTarget(LocaleId locId,
boolean overwriteExisting,
int creationOptions)
Creates or get the target for this TextUnit.
|
Property |
TextUnit.createTargetProperty(LocaleId locId,
String name,
boolean overwriteExisting,
int creationOptions) |
default Property |
IWithTargetProperties.createTargetProperty(LocaleId locId,
String name,
boolean overwriteExisting,
int creationOptions)
Create target
Property without access to the source property |
default Property |
IWithTargetProperties.createTargetProperty(LocaleId locId,
String name,
Property sourceProperty,
boolean overwriteExisting,
int creationOptions)
Creates or get a target property based on the corresponding source.
|
void |
TextUnit.createTargetSegmentation(ISegmenter segmenter,
LocaleId targetLocale) |
void |
ITextUnit.createTargetSegmentation(ISegmenter segmenter,
LocaleId targetLocale)
Segments the specified target content based on the rules provided by a given ISegmenter.
|
Map<String,Property> |
TargetPropertiesAnnotation.get(LocaleId locId)
Gets the properties for a given target locale.
|
AlignmentStatus |
IAlignedSegments.getAlignmentStatus(LocaleId trgLoc)
Gets the status of the alignment the given target locale in this text
unit.
|
AlignmentStatus |
AlignedSegments.getAlignmentStatus(LocaleId trgLoc) |
Segment |
IAlignedSegments.getCorrespondingSource(Segment trgSeg,
LocaleId trgLoc)
Gets the source segment corresponding to a given target segment
|
Segment |
AlignedSegments.getCorrespondingSource(Segment trgSeg,
LocaleId trgLoc) |
Segment |
IAlignedSegments.getCorrespondingTarget(Segment seg,
LocaleId trgLoc)
Gets the target segment corresponding to a given source segment
|
Segment |
AlignedSegments.getCorrespondingTarget(Segment srcSeg,
LocaleId trgLoc) |
Segment |
IAlignedSegments.getSource(int index,
LocaleId trgLoc)
Gets the source segment for the given target locale at a given position.
|
Segment |
AlignedSegments.getSource(int index,
LocaleId trgLoc) |
TextContainer |
TextUnit.getTarget(LocaleId locId) |
TextContainer |
ITextUnit.getTarget(LocaleId locId)
Gets the target object for this text unit for a given locale.
|
static <A extends IAnnotation> |
TextUnitUtil.getTargetAnnotation(ITextUnit textUnit,
LocaleId locId,
Class<A> type)
Gets an annotation attached to the target part of a given text unit resource in a given locale.
|
default Map<String,Property> |
IWithTargetProperties.getTargetProperties(LocaleId locale) |
Property |
TextUnit.getTargetProperty(LocaleId locId,
String name) |
default Property |
IWithTargetProperties.getTargetProperty(LocaleId locId,
String name)
Gets the target property for a given name and target locale.
|
Set<String> |
TextUnit.getTargetPropertyNames(LocaleId locId) |
default Set<String> |
IWithTargetProperties.getTargetPropertyNames(LocaleId locId)
Gets the names of all the properties for a given target locale in this resource.
|
Segment |
TextUnit.getTargetSegment(LocaleId trgLoc,
String segId,
boolean createIfNeeded) |
Segment |
ITextUnit.getTargetSegment(LocaleId trgLoc,
String segId,
boolean createIfNeeded)
Gets the segment for a given segment id in a given target.
|
ISegments |
TextUnit.getTargetSegments(LocaleId trgLoc) |
ISegments |
ITextUnit.getTargetSegments(LocaleId trgLoc)
Get the segments for a given target.
|
static String |
TextUnitUtil.getTargetText(ITextUnit textUnit,
LocaleId locId)
Gets text of the first part of the target of a given text unit resource in the given locale.
|
boolean |
TextUnit.hasTarget(LocaleId locId) |
boolean |
ITextUnit.hasTarget(LocaleId locId)
Indicates if there is a target object for a given locale for this text unit.
|
boolean |
TextUnit.hasTargetProperty(LocaleId locId,
String name) |
default boolean |
IWithTargetProperties.hasTargetProperty(LocaleId locId,
String name)
Indicates if a property exists for a given name and target locale.
|
void |
IAlignedSegments.insert(int index,
Segment srcSeg,
Segment trgSeg,
LocaleId trgLoc)
Inserts given source and target segments at the specified position in the
list of segments.
|
void |
AlignedSegments.insert(int index,
Segment srcSeg,
Segment trgSeg,
LocaleId trgLoc) |
static boolean |
TextUnitUtil.isApproved(ITextUnit tu,
LocaleId targetLocale) |
Iterator<Segment> |
IAlignedSegments.iterator(LocaleId trgLoc)
Gets an iterator for the source of the specified target locale.
|
Iterator<Segment> |
AlignedSegments.iterator(LocaleId trgLoc) |
void |
IAlignedSegments.joinAll(LocaleId trgLoc)
Joins all segments for the specified sources and targets.
|
void |
AlignedSegments.joinAll(LocaleId trgLoc) |
void |
IAlignedSegments.joinWithNext(Segment seg,
LocaleId trgLoc)
Joins the segment for a given segment's id to the next segment, including
all the parts between the two segments.
|
void |
AlignedSegments.joinWithNext(Segment seg,
LocaleId trgLoc) |
boolean |
IAlignedSegments.remove(Segment seg,
LocaleId trgLoc)
Removes the given segment and any segments with the same id from the
specified sources and targets.
|
boolean |
AlignedSegments.remove(Segment seg,
LocaleId trgLoc) |
void |
TextUnit.removeTarget(LocaleId locId) |
void |
ITextUnit.removeTarget(LocaleId locId)
Removes a given target object from this text unit.
|
void |
TextUnit.removeTargetProperty(LocaleId locId,
String name) |
default void |
IWithTargetProperties.removeTargetProperty(LocaleId locId,
String name)
Removes a target property of a given name.
|
void |
IAlignedSegments.segmentSource(ISegmenter segmenter,
LocaleId targetLocale)
Segments the source content used for the given target locale based on the
rules provided by a given
ISegmenter. |
void |
AlignedSegments.segmentSource(ISegmenter segmenter,
LocaleId targetLocale) |
void |
IAlignedSegments.segmentTarget(ISegmenter segmenter,
LocaleId targetLocale)
Segments the specified target content based on the rules provided by a
given
ISegmenter. |
void |
AlignedSegments.segmentTarget(ISegmenter segmenter,
LocaleId targetLocale) |
void |
TargetPropertiesAnnotation.set(LocaleId locId,
Map<String,Property> properties)
Sets properties for a given target locale.
|
void |
StartDocument.setLocale(LocaleId locale)
Sets the locale of the document.
|
void |
IAlignedSegments.setSegment(int index,
Segment seg,
LocaleId trgLoc)
Replaces a segment at a given position with a clone of the given segment.
|
void |
AlignedSegments.setSegment(int index,
Segment seg,
LocaleId trgLoc) |
void |
RawDocument.setSourceLocale(LocaleId locId)
Sets the source locale associated to this document.
|
void |
PipelineParameters.setSourceLocale(LocaleId sourceLocale) |
TextContainer |
TextUnit.setTarget(LocaleId locId,
TextContainer text) |
TextContainer |
ITextUnit.setTarget(LocaleId locId,
TextContainer text)
Sets the target object for this text unit for a given locale.
|
static void |
TextUnitUtil.setTargetAnnotation(ITextUnit textUnit,
LocaleId locId,
IAnnotation annotation)
Attaches an annotation to the target part of a given text unit resource in a given language.
|
TextFragment |
TextUnit.setTargetContent(LocaleId locId,
TextFragment content) |
TextFragment |
ITextUnit.setTargetContent(LocaleId locId,
TextFragment content)
Sets the content of the target for a given locale for this TextUnit.
|
void |
RawDocument.setTargetLocale(LocaleId locId)
Sets the target locale associated to this document.
|
void |
PipelineParameters.setTargetLocale(LocaleId targetLocale) |
Property |
TextUnit.setTargetProperty(LocaleId locId,
Property property) |
default Property |
IWithTargetProperties.setTargetProperty(LocaleId locId,
Property property)
Sets a target property.
|
static void |
TextUnitUtil.setTargetText(ITextUnit textUnit,
LocaleId locId,
String text)
Sets the coded text of the the target part of a given text unit resource in a given language.
|
Segment |
IAlignedSegments.splitSource(LocaleId trgLoc,
Segment srcSeg,
int splitPos)
Splits a given source segment into two.
|
Segment |
AlignedSegments.splitSource(LocaleId trgLoc,
Segment srcSeg,
int splitPos) |
Segment |
IAlignedSegments.splitTarget(LocaleId trgLoc,
Segment trgSeg,
int splitPos)
Splits a given target segment into two.
|
Segment |
AlignedSegments.splitTarget(LocaleId trgLoc,
Segment trgSeg,
int splitPos) |
| Modifier and Type | Method and Description |
|---|---|
void |
RawDocument.setTargetLocales(List<LocaleId> locIds)
Sets the list of target locales associated to this document.
|
void |
PipelineParameters.setTargetLocales(List<LocaleId> trgLocs) |
| Constructor and Description |
|---|
AlignedPair(List<TextPart> sourceParts,
List<TextPart> targetParts,
LocaleId localeId)
Creates an AlignedPair from source and target
TextParts |
AlignedPair(Segment sourceSegment,
Segment targetSegment,
LocaleId localeId)
Creates an AlignedPair from source and target
Segments |
RawDocument(CharSequence inputCharSequence,
LocaleId sourceLocale)
Creates a new RawDocument object with a given CharSequence and a source locale.
|
RawDocument(CharSequence inputCharSequence,
LocaleId sourceLocale,
LocaleId targetLocale)
Creates a new RawDocument object with a given CharSequence, a source locale and a target locale.
|
RawDocument(InputStream inputStream,
String defaultEncoding,
LocaleId sourceLocale)
Creates a new RawDocument object with a given InputStream, a default encoding and a source locale.
|
RawDocument(InputStream inputStream,
String defaultEncoding,
LocaleId sourceLocale,
LocaleId targetLocale)
Creates a new RawDocument object with a given InputStream, a default encoding and a source locale.
|
RawDocument(URI inputURI,
String defaultEncoding,
LocaleId sourceLocale)
Creates a new RawDocument object with a given URI, a default encoding and a source locale.
|
RawDocument(URI inputURI,
String defaultEncoding,
LocaleId sourceLocale,
LocaleId targetLocale)
Creates a new RawDocument object with a given URI, a default encoding, a source locale and a target locale.
|
RawDocument(URI inputURI,
String defaultEncoding,
LocaleId sourceLocale,
LocaleId targetLocale,
String filterConfigId)
Creates a new RawDocument object with a given URI, a default encoding, a source locale and a target locale,
and the filter configuration id.
|
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
AbstractResourceSimplifier.getTargetLocale() |
| Modifier and Type | Method and Description |
|---|---|
void |
IResourceSimplifier.setTargetLocale(LocaleId targetLocale) |
void |
AbstractResourceSimplifier.setTargetLocale(LocaleId targetLocale) |
| Constructor and Description |
|---|
ResourceSimplifier(LocaleId trgLoc) |
| Modifier and Type | Field and Description |
|---|---|
protected LocaleId |
GenericSkeletonWriter.inputLoc |
protected LocaleId |
GenericSkeletonWriter.outputLoc |
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
GenericSkeletonWriter.getInputLoc() |
LocaleId |
GenericSkeletonPart.getLocale() |
LocaleId |
GenericSkeletonWriter.getOutputLoc() |
| Modifier and Type | Method and Description |
|---|---|
Set<LocaleId> |
StorageList.getTargetLocales() |
| Modifier and Type | Method and Description |
|---|---|
void |
GenericSkeleton.addContentPlaceholder(ITextUnit textUnit,
LocaleId locId)
Adds to this skeleton a placeholder for the content (in a given locale) of the resource
to which this skeleton is attached.
|
GenericSkeletonPart |
GenericSkeleton.addValuePlaceholder(INameable referent,
String propName,
LocaleId locId)
Adds to this skeleton a place-holder for the value of a property (in a given locale)
of the resource to which this skeleton is attached.
|
Property |
StorageList.createTargetProperty(LocaleId locId,
String name,
boolean overwrite,
int creationOptions) |
protected String |
GenericSkeletonWriter.expandCodeContent(Code code,
LocaleId locToUse,
EncoderContext context) |
static int |
SkeletonUtil.findTuRefInSkeleton(GenericSkeleton skel,
LocaleId locId)
Finds either source or target reference in the skeleton.
|
protected String |
GenericSkeletonWriter.getContent(ITextUnit tu,
LocaleId locToUse,
EncoderContext context)
Gets the original content of a given text unit.
|
String |
GenericSkeletonWriter.getContent(TextFragment tf,
LocaleId locToUse,
EncoderContext context)
Gets the original content of a TextFragment.
|
protected String |
GenericSkeletonWriter.getPropertyValue(INameable resource,
String name,
LocaleId locToUse,
EncoderContext context) |
protected String |
GenericSkeletonWriter.getString(INameable ref,
String propName,
LocaleId locToUse,
EncoderContext context) |
protected String |
GenericSkeletonWriter.getString(ITextUnit tu,
LocaleId locToUse,
EncoderContext context)
Gets the skeleton and the original content of a given text unit.
|
protected String |
GenericSkeletonWriter.getString(StorageList list,
LocaleId locToUse,
EncoderContext context) |
Property |
StorageList.getTargetProperty(LocaleId language,
String name) |
Set<String> |
StorageList.getTargetPropertyNames(LocaleId language) |
boolean |
StorageList.hasTargetProperty(LocaleId language,
String name) |
static boolean |
SkeletonUtil.hasTuRef(GenericSkeleton skel,
LocaleId locId)
Determines if a given skeleton contains a target reference in a given locale.
|
String |
ISkeletonWriter.processStartDocument(LocaleId outputLocale,
String outputEncoding,
ILayerProvider layer,
EncoderManager encoderManager,
StartDocument resource)
Processes the START_DOCUMENT event.
|
String |
GenericSkeletonWriter.processStartDocument(LocaleId outputLocale,
String outputEncoding,
ILayerProvider layer,
EncoderManager encoderManager,
StartDocument resource) |
void |
StorageList.removeTargetProperty(LocaleId language,
String name) |
void |
GenericSkeletonPart.setLocale(LocaleId locId) |
void |
GenericSkeletonWriter.setOutputLoc(LocaleId outputLoc) |
Property |
StorageList.setTargetProperty(LocaleId language,
Property property) |
| Constructor and Description |
|---|
GenericSkeletonPart(char data,
IResource parent,
LocaleId locId) |
GenericSkeletonPart(String data,
IResource parent,
LocaleId locId) |
GenericSkeletonSimplifier(boolean isMultilingual,
GenericSkeletonWriter skelWriter,
LocaleId trgLoc) |
GenericSkeletonSimplifier(boolean isMultilingual,
GenericSkeletonWriter skelWriter,
String outEncoding,
LocaleId trgLoc) |
GenericSkeletonSimplifier(LocaleId trgLoc) |
GenericSkeletonSimplifier(String outEncoding,
LocaleId trgLoc) |
GenericSkeletonWriter(LocaleId inputLoc,
LocaleId outputLoc,
ILayerProvider layer,
EncoderManager encoderManager,
boolean isMultilingual,
boolean allowEmptyOutputTarget,
Map<String,Referent> referents,
Stack<StorageList> storageStack,
String outputEncoding,
int referentCopies,
SubFilterSkeletonWriter sfWriter) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
ApertiumMTConnector.toInternalCode(LocaleId standardCode) |
| Modifier and Type | Method and Description |
|---|---|
void |
BilingualFileConnector.setLanguages(LocaleId sourceLocale,
LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
GlobalSightTMConnector.toInternalCode(LocaleId locale) |
| Modifier and Type | Method and Description |
|---|---|
protected LocaleId |
GoogleMTv2Connector.convertGoogleLanguageCode(String lang) |
| Modifier and Type | Method and Description |
|---|---|
List<LocaleId> |
GoogleMTv2Connector.getSupportedLanguages() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
GoogleMTv2Connector.toInternalCode(LocaleId locale) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
KantanMTv21Connector.toInternalCode(LocaleId locId) |
| Modifier and Type | Method and Description |
|---|---|
void |
MicrosoftMTConnector.setLanguages(LocaleId sourceLocale,
LocaleId targetLocale) |
protected String |
MicrosoftMTConnector.toInternalCode(LocaleId locale) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
MyMemoryTMConnector.toInternalCode(LocaleId locale) |
| Modifier and Type | Method and Description |
|---|---|
void |
PensieveTMConnector.setLanguages(LocaleId sourceLocale,
LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
void |
TDASearchConnector.setLanguages(LocaleId sourceLocale,
LocaleId targetLocale) |
protected String |
TDASearchConnector.toInternalCode(LocaleId locale) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
TranslateToolkitTMConnector.toInternalCode(LocaleId standardCode) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractMarkupFilter.startGroup(GenericSkeleton startMarker,
String commonTagType,
LocaleId locale,
List<PropertyTextUnitPlaceholder> propertyTextUnitPlaceholders) |
| Modifier and Type | Method and Description |
|---|---|
void |
DoxygenWriter.setOptions(LocaleId language,
String defaultEncoding) |
| Modifier and Type | Method and Description |
|---|---|
void |
ICMLFilterWriter.setOptions(LocaleId locale,
String defaultEncoding) |
| Modifier and Type | Method and Description |
|---|---|
void |
IDMLFilterWriter.setOptions(LocaleId locale,
String defaultEncoding) |
| Modifier and Type | Field and Description |
|---|---|
protected LocaleId |
ITSFilter.srcLang |
| Modifier and Type | Method and Description |
|---|---|
String |
HTML5SkeletonWriter.getContent(TextFragment tf,
LocaleId locToUse,
EncoderContext context)
Gets the original content of a TextFragment.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
MarkdownFilterWriter.processStartDocument(LocaleId outputLocale,
String outputEncoding,
StartDocument resource) |
| Modifier and Type | Method and Description |
|---|---|
void |
MosesTextFilterWriter.setOptions(LocaleId locale,
String defaultEncoding) |
| Modifier and Type | Method and Description |
|---|---|
void |
OpenXMLFilter.setOptions(LocaleId sourceLanguage,
LocaleId targetLanguage,
String defaultEncoding,
boolean generateSkeleton)
Sets language, encoding, and generation options for the filter.
|
void |
OpenXMLFilterWriter.setOptions(LocaleId language,
String defaultEncoding) |
void |
OpenXMLFilter.setOptions(LocaleId sourceLanguage,
String defaultEncoding,
boolean generateSkeleton)
Sets language, encoding, and generation options for the filter.
|
| Constructor and Description |
|---|
OpenXMLFilter(AbstractTranslator translator,
LocaleId sOutputLanguage)
Creating the class with these two parameters allows automatic
manipulation of text within TextUnits.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PensieveFilterWriter.setOptions(LocaleId locale,
String defaultEncoding) |
| Modifier and Type | Method and Description |
|---|---|
protected TextProcessingResult |
BasePlainTextFilter.sendAsTarget(ITextUnit target,
ITextUnit source,
LocaleId language) |
| Modifier and Type | Method and Description |
|---|---|
static String |
PluralForms.getExpression(LocaleId language) |
void |
POWriter.setOptions(LocaleId language,
String defaultEncoding) |
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
Manifest.getSourceLocale() |
LocaleId |
Manifest.getTargetLocale() |
| Modifier and Type | Method and Description |
|---|---|
void |
Manifest.setInformation(String packageRoot,
LocaleId srcLoc,
LocaleId trgLoc,
String inputRoot,
String packageId,
String projectId,
String creatorParams,
String tempPackageRoot) |
| Modifier and Type | Field and Description |
|---|---|
protected List<LocaleId> |
BaseTableFilter.targetLanguages |
| Modifier and Type | Method and Description |
|---|---|
String |
CSVSkeletonWriter.processStartDocument(LocaleId outputLocale,
String outputEncoding,
ILayerProvider layer,
EncoderManager encoderManager,
StartDocument resource) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
TEXSkeletonWriter.getContent(ITextUnit tu,
LocaleId locToUse,
EncoderContext context)
Gets the original content of a given text unit.
|
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
Project.getSourceLocale() |
LocaleId |
Project.getTargetLocale() |
| Modifier and Type | Method and Description |
|---|---|
void |
Project.read(BufferedReader br,
LocaleId srcLoc,
LocaleId trgLoc) |
void |
TransifexFilterWriter.setOptions(LocaleId locale,
String defaultEncoding) |
void |
Project.setSourceLocale(LocaleId srcLoc) |
void |
Project.setTargetLocale(LocaleId trgLoc) |
| Modifier and Type | Method and Description |
|---|---|
void |
TransTableWriter.setOptions(LocaleId language,
String defaultEncoding) |
| Modifier and Type | Method and Description |
|---|---|
void |
WikiWriter.setOptions(LocaleId language,
String defaultEncoding) |
| Modifier and Type | Method and Description |
|---|---|
void |
XINIWriter.setOptions(LocaleId locale,
String defaultEncoding) |
| Modifier and Type | Method and Description |
|---|---|
void |
XINIRainbowkitWriter.setOptions(LocaleId locale,
String defaultEncoding) |
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
XLIFFFilter.getCurrentSourceLocale() |
LocaleId |
XLIFFFilter.getCurrentTargetLocale() |
| Modifier and Type | Method and Description |
|---|---|
static void |
XliffXtmFilterExtension.consolidateProperties(ITextUnit tu,
LocaleId trgLocId)
Consolidates all information for XTM at the segment-level.
|
protected String |
XLIFFSkeletonWriter.expandCodeContent(Code code,
LocaleId locToUse,
EncoderContext context) |
protected String |
XLIFFSkeletonWriter.getContent(ITextUnit tu,
LocaleId locToUse,
EncoderContext context) |
protected String |
XLIFFSkeletonWriter.getPropertyValue(INameable resource,
String name,
LocaleId locToUse,
EncoderContext context) |
String |
XLIFFSkeletonWriter.processStartDocument(LocaleId outputLocale,
String outputEncoding,
ILayerProvider layer,
EncoderManager encoderManager,
StartDocument resource) |
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
XLIFF2FilterWriter.getSourceLocale() |
LocaleId |
XLIFF2FilterWriter.getTargetLocale() |
| Modifier and Type | Method and Description |
|---|---|
void |
XLIFF2FilterWriter.setOptions(LocaleId locale,
String defaultEncoding) |
| Constructor and Description |
|---|
X2ToOkpConverter(LocaleId trgLoc)
Creates a new converter object.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
XMLSkeletonWriter.getPropertyValue(INameable resource,
String name,
LocaleId locToUse,
EncoderContext context)
Overrides the default behaviour to force "UTF-16" as declared XML encoding (not "UTF-16LE"
or "UTF-16BE").
|
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
TextUnitMerger.getTargetLocale() |
| Modifier and Type | Method and Description |
|---|---|
void |
SkeletonMergerWriter.setOptions(LocaleId targetLocale,
String defaultEncoding) |
void |
TextUnitMerger.setTargetLocale(LocaleId trgLoc) |
void |
ITextUnitMerger.setTargetLocale(LocaleId trgLoc) |
| Modifier and Type | Method and Description |
|---|---|
void |
OriginalDocumentXliffMergerStep.setTargetLocales(List<LocaleId> targetLocales)
Target locales.
|
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
SRXSegmenter.getLanguage() |
| Modifier and Type | Method and Description |
|---|---|
ISegmenter |
SRXDocument.compileLanguageRules(LocaleId languageCode,
ISegmenter existingSegmenter)
Compiles the all language rules applicable for a given language code, and
assign them to a segmenter.
|
void |
SRXSegmenter.setLanguage(LocaleId languageCode) |
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
LangEntry.getLocale() |
| Modifier and Type | Method and Description |
|---|---|
void |
ConceptEntry.addTerm(LocaleId locId,
String term) |
LangEntry |
ConceptEntry.getEntries(LocaleId locId) |
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.
|
boolean |
ConceptEntry.hasLocale(LocaleId locId)
Indicates if there is a set of terms defined for a given locale.
|
void |
ConceptEntry.removeEntries(LocaleId locId) |
| Constructor and Description |
|---|
ConceptEntry(String source,
String target,
LocaleId srcLocale,
LocaleId trgLocale) |
LangEntry(LocaleId locId) |
| Constructor and Description |
|---|
CSVReader(LocaleId srcLoc,
LocaleId trgLoc) |
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
Parameters.getSourceLocale() |
LocaleId |
Parameters.getTargetLocale() |
| 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) |
void |
Parameters.setSourceLocale(LocaleId locId) |
void |
Parameters.setTargetLocale(LocaleId locId) |
| Constructor and Description |
|---|
SimpleTB(LocaleId srcLoc,
LocaleId trgLoc) |
| Constructor and Description |
|---|
TSVReader(LocaleId srcLoc,
LocaleId trgLoc) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
TransifexClient.createProject(String projectId,
String name,
String shortDescription,
LocaleId srcLoc,
boolean isPrivate,
String projectURL)
Creates an open-source project new project if one does not exists already.
|
Object[] |
TransifexClient.getInformation(String resId,
LocaleId locId)
Gets information about a given resource for a given locale.
|
String[] |
TransifexClient.getResource(String resourceId,
LocaleId trgLoc,
String outputPath)
Pulls a resource from the current project.
|
Object[] |
TransifexClient.getResourceList(LocaleId srcLoc)
Retrieves the list of the resources for the current project, for a given source locale.
|
String[] |
TransifexClient.putSourceResource(String poPath,
LocaleId srcLoc,
String resourceFile)
Add a resource to the current project.
|
String[] |
TransifexClient.putTargetResource(String poPath,
LocaleId trgLoc,
String resourceSlug,
String resourceFile) |
String[] |
TransifexClient.putTargetResourceV2(String poPath,
LocaleId trgLoc,
String resourceSlug,
String resourceFile) |
| Modifier and Type | Field and Description |
|---|---|
protected LocaleId |
BaseConnector.srcLoc |
protected LocaleId |
BaseConnector.trgLoc |
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
QueryManager.getSourceLanguage()
Gets the current source locale for this manager.
|
LocaleId |
BaseConnector.getSourceLanguage() |
LocaleId |
QueryManager.getTargetLanguage()
Gets the current target locale for this manager.
|
LocaleId |
BaseConnector.getTargetLanguage() |
| Modifier and Type | Method and Description |
|---|---|
void |
QueryManager.setLanguages(LocaleId sourceLocale,
LocaleId targetLocale)
Sets the source and target locales for this manager and for all
translation resources in this manager.
|
void |
BaseConnector.setLanguages(LocaleId sourceLocale,
LocaleId targetLocale) |
protected String |
BaseConnector.toInternalCode(LocaleId locId)
Converts a locale identifier to the internal string value for a language/locale code for this connector.
|
| Constructor and Description |
|---|
TextMatcher(LocaleId locale1,
LocaleId locale2)
Creates a new TextMatcher object.
|
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
QualityCheckSession.getSourceLocale() |
LocaleId |
AbstractChecker.getSrcLoc() |
LocaleId |
QualityCheckSession.getTargetLocale() |
LocaleId |
AbstractChecker.getTrgLoc() |
| Modifier and Type | Method and Description |
|---|---|
int |
SpaceChecker.checkUnitSpacing(ITextUnit tu,
LocaleId trgLoc)
Checks and fixes white spaces for a given text unit.
|
void |
BlacklistChecker.initialize(net.sf.okapi.lib.verification.BlacklistTB termAccess,
LocaleId loc) |
void |
BlacklistChecker.initialize(net.sf.okapi.lib.verification.BlacklistTB termAccess,
LocaleId loc,
boolean useGenericCodes) |
void |
LanguageToolConnector.initialize(LocaleId locId,
LocaleId motherLocId,
String serverUrl,
boolean bilingualMode) |
void |
TermChecker.initialize(SimpleTB termAccess,
LocaleId srcLoc,
LocaleId trgLoc,
boolean stringSearch,
boolean betweenCodes) |
void |
Issue.setContainers(ITextUnit tu,
LocaleId trgLoc) |
void |
QualityCheckSession.setSourceLocale(LocaleId sourceLocale) |
void |
QualityCheckSession.setTargetLocale(LocaleId targetLocale) |
void |
QualityCheckSession.startProcess(LocaleId srcLoc,
LocaleId trgLoc) |
void |
PatternsChecker.startProcess(LocaleId sourceLocale,
LocaleId targetLocale,
Parameters params,
List<Issue> issues) |
void |
LocalizableChecker.startProcess(LocaleId sourceLocale,
LocaleId targetLocale,
Parameters params,
List<Issue> issues) |
void |
LengthChecker.startProcess(LocaleId sourceLocale,
LocaleId targetLocale,
Parameters params,
List<Issue> issues) |
void |
InlineCodesChecker.startProcess(LocaleId sourceLocale,
LocaleId targetLocale,
Parameters params,
List<Issue> issues) |
void |
GeneralChecker.startProcess(LocaleId sourceLocale,
LocaleId targetLocale,
Parameters params,
List<Issue> issues) |
void |
CharactersChecker.startProcess(LocaleId sourceLocale,
LocaleId targetLocale,
Parameters params,
List<Issue> issues) |
void |
AbstractChecker.startProcess(LocaleId sourceLocale,
LocaleId targetLocale,
Parameters params,
List<Issue> issues) |
| Constructor and Description |
|---|
BlacklistReader(LocaleId loc) |
| Modifier and Type | Method and Description |
|---|---|
void |
CharactersCheckerStep.setSourceLocale(LocaleId sourceLocale) |
void |
CharactersCheckerStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
Cleaner.checkCharacters(ITextUnit tu,
Segment seg,
LocaleId targetLocale)
Wrapper for removing character corruption and detecting unexpected
characters.
|
protected void |
Cleaner.markSegmentForRemoval(ITextUnit tu,
Segment seg,
LocaleId targetLocale)
Effectively marks the segment for removal by emptying the content for the
given target.
|
protected void |
Cleaner.matchRegexExpressions(ITextUnit tu,
Segment seg,
LocaleId targetLocale)
Marks segments for removal that contain text which match given regular
expressions.
|
protected void |
Cleaner.normalizeMarks(ITextUnit tu,
Segment seg,
LocaleId targetLocale) |
protected void |
Cleaner.normalizeQuotation(ITextUnit tu,
Segment seg,
LocaleId targetLocale)
Converts all quotation marks (curly or language specific) to straight
quotes.
|
protected void |
Cleaner.normalizeWhitespace(ITextUnit tu,
Segment seg,
LocaleId targetLocale)
Converts whitespace ({tab}, {space}, {CR}, {LF}) to single space.
|
protected boolean |
Cleaner.pruneTextUnit(ITextUnit tu,
LocaleId targetLocale)
Removes segments from the text unit marked as not containing useful
information.
|
boolean |
Cleaner.run(ITextUnit tu,
LocaleId targetLocale)
Performs the cleaning of the text unit according to user selected
options.
|
void |
CleanupStep.setSourceLocale(LocaleId sourceLocale) |
void |
CleanupStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
void |
CodesRemovalStep.setTargetLocale(LocaleId targetLocale) |
| Constructor and Description |
|---|
CodesRemover(Parameters params,
LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
ExtractionVerificationUtil.getTargetLocale() |
| Modifier and Type | Method and Description |
|---|---|
void |
ResourceSimplifierStep.setTargetLocale(LocaleId targetLocale) |
void |
FilterEventsWriterStep.setTargetLocale(LocaleId targetLocale) |
void |
FilterEventsToRawDocumentStep.setTargetLocale(LocaleId targetLocale) |
void |
ExtractionVerificationUtil.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
void |
ResourceSimplifierStep.setTargetLocales(List<LocaleId> targetLocales) |
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
CopySourceOnEmptyTargetStep.getTargetLocale() |
| Modifier and Type | Method and Description |
|---|---|
void |
CopySourceOnEmptyTargetStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
CreateTargetStep.getTargetLocale() |
| Modifier and Type | Method and Description |
|---|---|
void |
CreateTargetStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
List<LocaleId> |
DesegmentationStep.getTargetLocales() |
| Modifier and Type | Method and Description |
|---|---|
void |
DesegmentationStep.setTargetLocales(List<LocaleId> targetLocales) |
| Modifier and Type | Method and Description |
|---|---|
void |
DiffLeverageStep.setSourceLocale(LocaleId sourceLocale) |
void |
DiffLeverageStep.setTargetLocale(LocaleId targetLocale)
Target locale.
|
| Constructor and Description |
|---|
FuzzyTextUnitComparator(boolean codeSensitive,
int threshold,
LocaleId localeId) |
| Modifier and Type | Method and Description |
|---|---|
void |
EnrycherClient.setLocale(LocaleId locId)
Sets the locale to use when invoking the Enrycher service.
|
| Modifier and Type | Method and Description |
|---|---|
void |
WordTableFilterWriter.setOptions(LocaleId locale,
String defaultEncoding) |
void |
TableFilterWriter.setOptions(LocaleId locale,
String defaultEncoding) |
void |
CorpusFilterWriter.setOptions(LocaleId locale,
String defaultEncoding) |
void |
FormatConversionStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
void |
FullWidthConversionStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
void |
GaleAndChurch.setLocales(LocaleId p_sourceLocale,
LocaleId p_targetLocale)
Set source and target locales.
|
void |
AlignmentScorer.setLocales(LocaleId p_sourceLocale,
LocaleId p_targetLocale)
Set source and target locales.
|
| Constructor and Description |
|---|
AlignmentFunction(LocaleId p_sourceLocale,
LocaleId p_targetLocale,
List<AlignmentScorer<T>> scorerList,
Penalties penalties) |
| Modifier and Type | Method and Description |
|---|---|
void |
GeneralCheckerStep.setSourceLocale(LocaleId sourceLocale) |
void |
GeneralCheckerStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
void |
GenerateSimpleTmStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
void |
IdBasedAlignerStep.setSourceLocale(LocaleId sourceLocale) |
void |
IdBasedAlignerStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
void |
IdBasedCopyStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
void |
InconsistencyCheckStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
void |
InlineCodesCheckerStep.setSourceLocale(LocaleId sourceLocale) |
void |
InlineCodesCheckerStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
void |
LengthCheckerStep.setSourceLocale(LocaleId sourceLocale) |
void |
LengthCheckerStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
LeveragingStep.getSourceLocale() |
LocaleId |
BatchTmLeveragingStep.getSourceLocale() |
LocaleId |
LeveragingStep.getTargetLocale() |
LocaleId |
BatchTmLeveragingStep.getTargetLocale() |
| Modifier and Type | Method and Description |
|---|---|
void |
LeveragingStep.setSourceLocale(LocaleId sourceLocale) |
void |
BatchTmLeveragingStep.setSourceLocale(LocaleId sourceLocale) |
void |
LeveragingStep.setTargetLocale(LocaleId targetLocale) |
void |
BatchTmLeveragingStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
void |
LocalizableCheckerStep.setSourceLocale(LocaleId sourceLocale) |
void |
LocalizableCheckerStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
void |
MergingStep.setSourceLocale(LocaleId sourceLocale) |
void |
MergingStep.setTargetLocale(LocaleId targetLocale) |
void |
ExtractionStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
static Event |
MSBatchTranslationStep.generateAltOutput(String outFilePath,
String defaultEncoding,
LocaleId sourceLocale,
LocaleId targetLocale,
String filterConfigId)
Generates the alternative output used by several Trados Steps
|
void |
MSBatchTranslationStep.setSourceLocale(LocaleId sourceLocale) |
void |
MSBatchTranslationStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
net.sf.okapi.steps.paraaligner.AlignedParagraphs |
ParagraphAligner.align(List<ITextUnit> sourceParagraphs,
List<ITextUnit> targetParagraphs,
LocaleId srcLocale,
LocaleId trgLocale,
boolean outputOneTOneMatchesOnly) |
void |
ParagraphAlignerStep.setSourceLocale(LocaleId sourceLocale) |
void |
ParagraphAlignerStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
void |
PatternsCheckerStep.setSourceLocale(LocaleId sourceLocale) |
void |
PatternsCheckerStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
void |
QualityCheckStep.setSourceLocale(LocaleId sourceLocale) |
void |
QualityCheckStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
protected Event |
BasePackageWriter.creatRawDocumentEventSet(String inputPath,
String defaultEncoding,
LocaleId srcLoc,
LocaleId trgLoc) |
long |
WordCounter.getWordCount(ITextUnit tu,
LocaleId trgId) |
void |
IPackageWriter.setBatchInformation(String packageRoot,
LocaleId srcLoc,
LocaleId trgLoc,
String inputRootDir,
String rootDir,
String packageId,
String projectId,
String creatorParams,
String tempPackageRoot) |
void |
BasePackageWriter.setBatchInformation(String packageRoot,
LocaleId srcLoc,
LocaleId trgLoc,
String inputRootDir,
String rootDir,
String packageId,
String projectId,
String creatorParams,
String tempPackageRoot) |
void |
BasePackageWriter.setOptions(LocaleId locale,
String defaultEncoding) |
| Constructor and Description |
|---|
WordCounter(LocaleId locId) |
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
ExtractionStep.getSourceLocale() |
LocaleId |
ExtractionStep.getTargetLocale() |
| Modifier and Type | Method and Description |
|---|---|
void |
ExtractionStep.setSourceLocale(LocaleId sourceLocale) |
void |
ExtractionStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
MergingStep.getTargetLocale() |
| Modifier and Type | Method and Description |
|---|---|
void |
MergingStep.setTargetLocale(LocaleId targetLocale) |
| Constructor and Description |
|---|
Merger(Parameters parameters,
IFilterConfigurationMapper fcMapper,
Manifest manifest,
LocaleId forcedTargetLocale)
Creates a Merger object.
|
| Constructor and Description |
|---|
RTFLayerWriter(ISkeletonWriter skelWriter,
String path,
LocaleId targetLocale,
String targetEncoding) |
| Modifier and Type | Method and Description |
|---|---|
void |
RepetitionAnalysisStep.setSourceLocale(LocaleId sourceLocale) |
void |
RepetitionAnalysisStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
void |
SearchAndReplaceStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
SegmentationStep.getSourceLocale() |
| Modifier and Type | Method and Description |
|---|---|
List<LocaleId> |
SegmentationStep.getTargetLocales() |
| Modifier and Type | Method and Description |
|---|---|
void |
SegmentationStep.setSourceLocale(LocaleId sourceLocale) |
| Modifier and Type | Method and Description |
|---|---|
void |
SegmentationStep.setTargetLocales(List<LocaleId> targetLocales) |
| Modifier and Type | Method and Description |
|---|---|
ITextUnit |
SentenceAligner.align(ITextUnit sourceParagraph,
ITextUnit targetParagraph,
LocaleId srcLocale,
LocaleId trgLocale,
boolean outputOneTOneMatchesOnly) |
ITextUnit |
SentenceAligner.align(ITextUnit bilingualParagraph,
LocaleId srcLocale,
LocaleId trgLocale,
boolean outputOneTOneMatchesOnly) |
void |
SentenceAlignerStep.setSourceLocale(LocaleId sourceLocale) |
void |
SentenceAlignerStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
void |
SpaceCheckStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleTermExtractor.initialize(Parameters params,
LocaleId sourceLocaleId,
String rootDir,
String inputRootDir)
Initializes this extractor.
|
void |
TermExtractionStep.setSourcetLocale(LocaleId sourceLocale) |
| Modifier and Type | Field and Description |
|---|---|
protected LocaleId |
BaseTerminologyConnector.srcLoc |
protected LocaleId |
BaseTerminologyConnector.trgLoc |
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
ITerminologyQuery.getSourceLanguage() |
LocaleId |
BaseTerminologyConnector.getSourceLanguage() |
LocaleId |
TerminologyLeveragingStep.getSourceLocale() |
LocaleId |
ITerminologyQuery.getTargetLanguage() |
LocaleId |
BaseTerminologyConnector.getTargetLanguage() |
LocaleId |
TerminologyLeveragingStep.getTargetLocale() |
| Modifier and Type | Method and Description |
|---|---|
void |
ITerminologyQuery.setLanguages(LocaleId sourceLocale,
LocaleId targetLocale) |
void |
BaseTerminologyConnector.setLanguages(LocaleId sourceLocale,
LocaleId targetLocale) |
void |
TerminologyLeveragingStep.setSourceLocale(LocaleId sourceLocale) |
void |
TerminologyLeveragingStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
void |
TextModificationStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
void |
TMImportStep.setTargetLocale(LocaleId targetLocale) |
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
TokenizationStep.getSourceLocale() |
LocaleId |
TokenizationStep.getTargetLocale() |
| Modifier and Type | Method and Description |
|---|---|
List<Token> |
TokenizationStep.apostrophe(Token token,
LocaleId locale)
Break French and Italian words with apostrophe into three tokens WORD, PUNCTUATION, WORD
|
void |
RbbiTokenizer.init(String text,
LocaleId language) |
void |
ITokenizer.init(String text,
LocaleId language) |
Collection<? extends Token> |
TokenizationStep.postProcess(Token t,
LocaleId language)
Various rules to make corrections to
RbbiTokenizer |
void |
TokenizationStep.setSourceLocale(LocaleId sourceLocale) |
void |
TokenizationStep.setTargetLocale(LocaleId targetLocale) |
static Tokens |
Tokenizer.tokenize(ITextUnit textUnit,
LocaleId language,
String... tokenNames) |
static Tokens |
Tokenizer.tokenize(String string,
LocaleId language,
String... tokenNames) |
static Tokens |
Tokenizer.tokenize(TextContainer textContainer,
LocaleId language,
String... tokenNames) |
static Tokens |
Tokenizer.tokenize(TextFragment textFragment,
LocaleId language,
String... tokenNames) |
protected static Tokens |
Tokenizer.tokenizeString(String text,
LocaleId language,
String... tokenNames)
Extracts tokens from the given text.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TranslationComparisonStep.setSourceLocale(LocaleId sourceLocale) |
void |
TranslationComparisonStep.setTargetLocale(LocaleId targetLocale) |
| Constructor and Description |
|---|
WordCounter(LocaleId locId) |
| Modifier and Type | Method and Description |
|---|---|
void |
UriConversionStep.setTargetLanguage(LocaleId targetLanguage) |
| Modifier and Type | Field and Description |
|---|---|
protected LocaleId |
WhitespaceCorrector.sourceLocale |
protected LocaleId |
WhitespaceCorrectionStep.sourceLocale |
protected LocaleId |
WhitespaceCorrector.targetLocale |
protected LocaleId |
WhitespaceCorrectionStep.targetLocale |
| Modifier and Type | Method and Description |
|---|---|
void |
WhitespaceCorrectionStep.setSourceLocale(LocaleId sourceLocale) |
void |
WhitespaceCorrectionStep.setTargetLocale(LocaleId targetLocale) |
| Constructor and Description |
|---|
WhitespaceCorrector(LocaleId sourceLocale,
LocaleId targetLocale,
Set<WhitespaceCorrector.Punctuation> punctuation,
Set<WhitespaceCorrector.Whitespace> whitespace) |
| Modifier and Type | Method and Description |
|---|---|
static long |
WordCounter.count(ITextUnit textUnit,
LocaleId language)
Counts words in the source part of a given text unit.
|
static long |
CharacterCounter.count(Object text,
LocaleId language) |
static long |
WordCounter.count(Segment segment,
LocaleId language)
Counts words in a given segment.
|
protected long |
WordCountStep.count(Segment segment,
LocaleId locale) |
static long |
WordCounter.count(String string,
LocaleId language)
Counts words in a given string.
|
static long |
WordCounter.count(TextContainer textContainer,
LocaleId language)
Counts words in a given text container.
|
protected long |
WordCountStep.count(TextContainer textContainer,
LocaleId locale) |
static long |
WordCounter.count(TextFragment textFragment,
LocaleId language)
Counts words in a given text fragment.
|
static long |
WordCounter.countFromLogographicCharacterCount(long characterCount,
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 long |
WordCounter.countLogographicScript(Object text,
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.
|
protected long |
WordCounter.doCountImpl(String text,
LocaleId language) |
protected long |
CharacterCounter.doCountImpl(String text,
LocaleId language) |
CharacterCounter.Counts |
CharacterCounter.doFullCount(Object text,
LocaleId language) |
protected CharacterCounter.Counts |
CharacterCounter.doFullCountImpl(String text,
LocaleId language) |
static CharacterCounter.Counts |
CharacterCounter.fullCount(Object text,
LocaleId language) |
void |
SimpleWordCountStep.setSourceLocale(LocaleId sourceLocale) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
GMXProtectedWordCountStep.count(Segment segment,
LocaleId locale) |
protected long |
GMXProtectedWordCountStep.count(TextContainer textContainer,
LocaleId locale) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
TokenCountStep.count(Segment segment,
LocaleId locale) |
protected long |
TokenCharacterCountStep.count(Segment segment,
LocaleId locale) |
protected abstract long |
BaseCountStep.count(Segment segment,
LocaleId locale) |
protected long |
AltAnnotationBasedCountStep.count(Segment segment,
LocaleId locale) |
protected long |
TokenCountStep.count(TextContainer textContainer,
LocaleId locale) |
protected long |
TokenCharacterCountStep.count(TextContainer textContainer,
LocaleId locale) |
protected abstract long |
BaseCountStep.count(TextContainer textContainer,
LocaleId locale) |
protected long |
AltAnnotationBasedCountStep.count(TextContainer textContainer,
LocaleId locale) |
static long |
TokenCharacterCountStep.countTokenChars(Tokens tokens,
LocaleId locale)
Return the total character count (calculated per
GMX.TotalCharacterCount)
of all supplied tokens. |
long |
BaseCounter.doCount(Object text,
LocaleId language) |
protected abstract long |
BaseCounter.doCountImpl(String text,
LocaleId language) |
static double |
GMX.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.
|
protected Tokens |
TokenCountStep.getTokens(Segment segment,
LocaleId locale) |
protected Tokens |
TokenCountStep.getTokens(TextContainer textContainer,
LocaleId locale) |
static boolean |
GMX.isLogographicScript(LocaleId locId)
Indicates whether or not the language is considered a "logographic" language per
the GMX-V 2.0 spec.
|
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
TranslationUnitVariant.getLanguage() |
| Modifier and Type | Method and Description |
|---|---|
static TranslationUnit |
PensieveUtil.convertToTranslationUnit(LocaleId sourceLoc,
LocaleId targetLoc,
ITextUnit textUnit)
Converts an un-segmented TextUnit into a TranslationUnit.
|
void |
TranslationUnitVariant.setLocale(LocaleId locale) |
| Constructor and Description |
|---|
TranslationUnitVariant(LocaleId language,
TextFragment content)
Creates a TUV with the given language and content
|
| Modifier and Type | Method and Description |
|---|---|
void |
OkapiTmxExporter.exportTmx(LocaleId sourceLocale,
ITmSeeker tmSeeker,
TMXWriter tmxWriter)
Exports all target locales in Pensieve to TMX
|
void |
ITmxExporter.exportTmx(LocaleId sourceLocale,
ITmSeeker tmSeeker,
TMXWriter tmxWriter)
Exports all Pensieve contents matching source languages to TMX
|
void |
OkapiTmxExporter.exportTmx(LocaleId sourceLang,
LocaleId targetLang,
ITmSeeker tmSeeker,
TMXWriter tmxWriter)
Exports only a specific target locale Pensieve to TMX
|
void |
ITmxExporter.exportTmx(LocaleId sourceLocale,
LocaleId targetLocale,
ITmSeeker tmSeeker,
TMXWriter tmxWriter)
Exports all Pensieve contents matching source and target language to TMX
|
void |
OkapiTmxImporter.importTmx(URI tmxUri,
LocaleId targetLang,
ITmWriter tmWriter)
Imports TMX to Pensieve
|
void |
ITmxImporter.importTmx(URI tmxUri,
LocaleId targetLocale,
ITmWriter tmWriter)
Imports TMX to Pensieve
|
| Constructor and Description |
|---|
OkapiTmxImporter(LocaleId sourceLang,
IFilter tmxFilter)
Creates an instance of OkapiTMXHandler
|
| Modifier and Type | Method and Description |
|---|---|
void |
Database.create(String path,
boolean deleteExistingDB,
LocaleId targetLocale) |
void |
Database.exportToTMX(String outputPath,
LocaleId sourceLocale,
LocaleId targetLocale) |
Copyright © 2021. All rights reserved.