Uses of Class
net.sf.okapi.common.LocaleId
-
-
Uses of LocaleId in net.sf.okapi.common
Fields in net.sf.okapi.common declared as LocaleId Modifier and Type Field Description static LocaleIdIPredefinedLocales. Afrikaansstatic LocaleIdIPredefinedLocales. Albanianstatic LocaleIdLocaleId. ALLstatic LocaleIdIPredefinedLocales. Amharicstatic LocaleIdLocaleId. ARABICLocaleId constant for "ar".static LocaleIdIPredefinedLocales. Armenianstatic LocaleIdLocaleId. AUTODETECTSame as EMPTY, but reminds the user that some components use EMPTY as a setting to enable locale auto detection.static LocaleIdIPredefinedLocales. Aymarastatic LocaleIdIPredefinedLocales. Basquestatic LocaleIdIPredefinedLocales. Bikolanostatic LocaleIdIPredefinedLocales. Bislamastatic LocaleIdIPredefinedLocales. Bulgarianstatic LocaleIdIPredefinedLocales. Burmesestatic LocaleIdIPredefinedLocales. Cebuanostatic LocaleIdLocaleId. CHINA_CHINESELocaleId constant for "zh-cn".static LocaleIdIPredefinedLocales. Chuukesestatic LocaleIdIPredefinedLocales. Croatianstatic LocaleIdIPredefinedLocales. Czechstatic LocaleIdIPredefinedLocales. Danishstatic LocaleIdIPredefinedLocales. Dutchstatic LocaleIdIPredefinedLocales. Efikstatic LocaleIdLocaleId. EMPTYAn empty locale.static LocaleIdLocaleId. ENGLISHLocaleId constant for "en".static LocaleIdIPredefinedLocales. Estonianstatic LocaleIdIPredefinedLocales. Fantestatic LocaleIdIPredefinedLocales. Fijianstatic LocaleIdIPredefinedLocales. Finnishstatic LocaleIdLocaleId. FRENCHLocaleId constant for "fr".static LocaleIdIPredefinedLocales. Georgianstatic LocaleIdLocaleId. GERMANLocaleId constant for "de".static LocaleIdIPredefinedLocales. Greekstatic LocaleIdIPredefinedLocales. Guaranistatic LocaleIdIPredefinedLocales. Haitianstatic LocaleIdLocaleId. HEBREWLocaleId constant for "he".static LocaleIdIPredefinedLocales. Hiligaynonstatic LocaleIdIPredefinedLocales. Hindistatic LocaleIdIPredefinedLocales. Hindi_Fijistatic LocaleIdIPredefinedLocales. Hmongstatic LocaleIdIPredefinedLocales. Hungarianstatic LocaleIdIPredefinedLocales. Ibanstatic LocaleIdIPredefinedLocales. Icelandicstatic LocaleIdIPredefinedLocales. Igbostatic LocaleIdIPredefinedLocales. Ilocanostatic LocaleIdIPredefinedLocales. Indonesianstatic LocaleIdLocaleId. ITALIANLocaleId constant for "it".static LocaleIdLocaleId. JAPANESELocaleId constant for "ja".static LocaleIdIPredefinedLocales. Kannadastatic LocaleIdIPredefinedLocales. Kazakhstatic LocaleIdIPredefinedLocales. Kekchistatic LocaleIdIPredefinedLocales. Khmerstatic LocaleIdIPredefinedLocales. Kirghizstatic LocaleIdIPredefinedLocales. Kiribatistatic LocaleIdIPredefinedLocales. Koreanstatic LocaleIdLocaleId. KOREANLocaleId constant for "ko".static LocaleIdIPredefinedLocales. Kosraeanstatic LocaleIdIPredefinedLocales. Laostatic LocaleIdIPredefinedLocales. Latvianstatic LocaleIdIPredefinedLocales. Lingalastatic LocaleIdIPredefinedLocales. Lithuanianstatic LocaleIdIPredefinedLocales. Macedonianstatic LocaleIdIPredefinedLocales. Malagasystatic LocaleIdIPredefinedLocales. Malay_Malaysiastatic LocaleIdIPredefinedLocales. Malayalamstatic LocaleIdIPredefinedLocales. Maltesestatic LocaleIdIPredefinedLocales. Mamstatic LocaleIdIPredefinedLocales. Marshallesestatic LocaleIdIPredefinedLocales. Mongolianstatic LocaleIdIPredefinedLocales. Navajostatic LocaleIdIPredefinedLocales. Neomelanesianstatic LocaleIdIPredefinedLocales. Norwegianstatic LocaleIdIPredefinedLocales. Palauanstatic LocaleIdIPredefinedLocales. Pohnpeianstatic LocaleIdIPredefinedLocales. Polishstatic LocaleIdLocaleId. PORTUGUESELocaleId constant for "pt".static LocaleIdIPredefinedLocales. Quechuastatic LocaleIdIPredefinedLocales. Quichuastatic LocaleIdIPredefinedLocales. Rarotonganstatic LocaleIdIPredefinedLocales. Romanianstatic LocaleIdLocaleId. RUSSIANLocaleId constant for "ru".static LocaleIdIPredefinedLocales. Rwandastatic LocaleIdIPredefinedLocales. Samoanstatic LocaleIdIPredefinedLocales. Serbianstatic LocaleIdIPredefinedLocales. Shonastatic LocaleIdIPredefinedLocales. Slovakstatic LocaleIdIPredefinedLocales. Slovenianstatic LocaleIdIPredefinedLocales. South_Sothostatic LocaleIdLocaleId. SPANISHLocaleId constant for "es".static LocaleIdIPredefinedLocales. Swahilistatic LocaleIdIPredefinedLocales. Swedishstatic LocaleIdIPredefinedLocales. Tagalogstatic LocaleIdIPredefinedLocales. Tahitianstatic LocaleIdLocaleId. TAIWAN_CHINESELocaleId constant for "zh-tw".static LocaleIdIPredefinedLocales. Thaistatic LocaleIdIPredefinedLocales. Tonganstatic LocaleIdIPredefinedLocales. Tswanastatic LocaleIdIPredefinedLocales. Turkishstatic LocaleIdIPredefinedLocales. Twistatic LocaleIdIPredefinedLocales. Ukrainianstatic LocaleIdLocaleId. US_ENGLISHLocaleId constant for "en-US".static LocaleIdIPredefinedLocales. Vietnamesestatic LocaleIdIPredefinedLocales. Waraystatic LocaleIdIPredefinedLocales. Xhosastatic LocaleIdIPredefinedLocales. Yapesestatic LocaleIdIPredefinedLocales. Yorubastatic LocaleIdIPredefinedLocales. Yupikstatic LocaleIdIPredefinedLocales. ZuluMethods in net.sf.okapi.common that return LocaleId Modifier and Type Method Description LocaleIdLocaleId. clone()Returns a clone of this LocaleId.static LocaleIdLocaleId. fromBCP47(String langtag)Creates a new LocaleId from a BCP-47 language tag.static LocaleIdLocaleId. fromBCP47(String langtag, boolean strict)Creates a new LocaleId from a BCP-47 language tag.static LocaleIdLocaleId. fromPOSIXLocale(String locId)Creates a new LocaleId from a POSIX locale identifier.static LocaleIdLocaleId. 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.LocaleIdISegmenter. getLanguage()Gets the language used to apply the rules.static LocaleIdLCIDUtil. getLocaleId(int lcid)Creates a locale id for a given LCID value.static LocaleIdLCIDUtil. getLocaleId(String tag)Creates a locale id for a given language tag.LocaleIdDefaultLocalePair. source()LocaleIdLocalePair. source()Obtains the source locale.LocaleIdDefaultLocalePair. target()LocaleIdLocalePair. target()Obtains the target locale.Methods in net.sf.okapi.common that return types with arguments of type LocaleId Modifier and Type Method Description static List<LocaleId>LocaleId. convertToLocaleIds(List<String> languageCodes)Converts a list of language codes intoLocaleIdsSet<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 ofLocaleIdobjects.Methods in net.sf.okapi.common with parameters of type LocaleId Modifier and Type Method Description static LocaleFilterLocaleFilter. anyExcept(LocaleId... localeIds)Creates a filter filtering out the given locales.static LocaleFilterLocaleFilter. anyOf(LocaleId... localeIds)Creates a filter allowing only the given locales.LocaleFilterLocaleFilter. exclude(LocaleId localeId)Disallows a given locale.LocaleFilterLocaleFilter. exclude(LocaleId... localeIds)Disallows the locales from a given array of locales.Set<LocaleId>LocaleFilter. filter(LocaleId... localeIds)Creates a subset of the locales from a given array, which are allowed by this locale filter.static intLCIDUtil. getLCID(LocaleId locId)Gets the LCID for a given locale id.static StringLCIDUtil. getLCID_asString(LocaleId locId)Gets the LCID as a string, for a given locale id.static StringFileUtil. getLocaleBasedFile(String baseName, String extension, LocaleId locale)Return a path to a locale based resource using the standard java property resource resolution.static StringLCIDUtil. getTag(LocaleId locId)Gets the language tag for a given locale id.static booleanLocaleId. hasCharactersAsNumeralSeparators(LocaleId localeId)Checks whether the specified locale has characters as numeral separators.LocaleFilterLocaleFilter. include(LocaleId localeId)Allows a given locale.LocaleFilterLocaleFilter. include(LocaleId... localeIds)Allows the locales from a given array of locales.static booleanLocaleId. isBidirectional(LocaleId locId)Indicates if a given locale usually uses a bi-directional script.static booleanUtil. isNullOrEmpty(LocaleId locale)Indicates if a locale id is null or empty.booleanLocaleFilter. matches(LocaleId localeId)Returns true if a given locale is allowed by this locale filter.static voidRenumberingUtil. renumberTextUnitCodes(ITextUnit tu, LocaleId trgLocale)Renumber the codes in the TextUnit's source container, then align with the codes in the target.static StringLocaleId. replaceVariables(String input, LocaleId srcLoc, LocaleId trgLoc)Replaces the locale/language variables in a given input string by their runtime values.booleanLocaleId. sameLanguageAs(LocaleId other)Indicates if the language of a given LocaleId is the same as the one of this LocaleId.booleanLocaleId. sameRegionAs(LocaleId other)Indicates if the region of a given LocaleId is the same as the one of this LocaleId.booleanLocaleId. sameUserPartAs(LocaleId other)Indicates if the user part of a given LocaleId is the same as the one of this LocaleId.voidISegmenter. setLanguage(LocaleId locale)Sets the locale used to apply the rules.Method parameters in net.sf.okapi.common with type arguments of type LocaleId Modifier and Type Method Description LocaleFilterLocaleFilter. exclude(List<LocaleId> localeIds)Disallows the locales from a given list of locales.LocaleFilterLocaleFilter. exclude(Set<LocaleId> localeIds)Disallows the locales from a given set of locales.LocaleFilterLocaleFilter. include(List<LocaleId> localeIds)Allows the locales from a given list of locales.LocaleFilterLocaleFilter. include(Set<LocaleId> localeIds)Allows the locales from a given set of locales.Constructors in net.sf.okapi.common with parameters of type LocaleId Constructor Description DefaultLocalePair(LocaleId source, LocaleId target) -
Uses of LocaleId in net.sf.okapi.common.annotation
Methods in net.sf.okapi.common.annotation that return LocaleId Modifier and Type Method Description LocaleIdAltTranslation. getSourceLocale()Gets the source locale for this entry.LocaleIdAltTranslation. getTargetLocale()Gets the target locale for this entry.Methods in net.sf.okapi.common.annotation with parameters of type LocaleId Modifier and Type Method Description AltTranslationAltTranslationsAnnotation. 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.AltTranslationAltTranslationsAnnotation. 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.voidAltTranslation. setTarget(LocaleId targetLocId, TextFragment alternateTarget)Sets the target parts of this alternate translation.Constructors in net.sf.okapi.common.annotation with parameters of type LocaleId Constructor Description AltTranslation(LocaleId sourceLocId, LocaleId targetLocId, ITextUnit altTu, 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)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. -
Uses of LocaleId in net.sf.okapi.common.filters
Fields in net.sf.okapi.common.filters declared as LocaleId Modifier and Type Field Description protected LocaleIdAbstractLineFilter. srcLangprotected LocaleIdAbstractLineFilter. trgLangMethods in net.sf.okapi.common.filters that return LocaleId Modifier and Type Method Description LocaleIdAbstractFilter. getSrcLoc()Gets the input document source locale.protected LocaleIdAbstractLineFilter. getTargetLocale()LocaleIdAbstractFilter. getTrgLoc()Methods in net.sf.okapi.common.filters with parameters of type LocaleId Modifier and Type Method Description voidSubFilterSkeletonWriter.TargetOutputs. add(LocaleId localeId, StringBuilder stringBuilder)voidSubFilterSkeletonWriter.TargetOutputs.Default. add(LocaleId localeId, StringBuilder stringBuilder)voidEventBuilder. addToTextUnit(Code code, boolean endCodeNow, LocaleId locale, List<PropertyTextUnitPlaceholder> propertyTextUnitPlaceholders)voidSubFilterSkeletonWriter.TargetOutputs. appendTo(LocaleId localeId, String text)voidSubFilterSkeletonWriter.TargetOutputs.Default. appendTo(LocaleId localeId, String text)EndingEventBuilder. endGroup(GenericSkeleton endMarker, LocaleId locale, List<PropertyTextUnitPlaceholder> propertyTextUnitPlaceholders)ITextUnitEventBuilder. endTextUnit(GenericSkeleton endMarker, LocaleId locale, List<PropertyTextUnitPlaceholder> propertyTextUnitPlaceholders)StringSubFilterSkeletonWriter. getEncodedOutput(LocaleId locToUse)StringBuilderSubFilterSkeletonWriter.TargetOutputs.Default. outputFor(LocaleId localeId)StringBuilderSubFilterSkeletonWriter.TargetOutputs. outputFor(LocaleId localeId)StringSubFilterSkeletonWriter. processStartDocument(LocaleId outputLocale, String outputEncoding, ILayerProvider layer, EncoderManager encoderManager, StartDocument resource)voidAbstractFilter. setOptions(LocaleId sourceLocale, LocaleId targetLocale, String defaultEncoding, boolean generateSkeleton)SubFilterSkeletonWriterSubFilterSkeletonWriter. setOptions(LocaleId outputLocale, String outputEncoding, StartSubfilter startSubfilter, ILayerProvider layer)voidAbstractFilter. setSrcLoc(LocaleId srcLoc)Sets the input document source locale.voidAbstractFilter. setTrgLoc(LocaleId trgLoc)voidEventBuilder. startDocumentPart(String part, String name, LocaleId locale, List<PropertyTextUnitPlaceholder> propertyTextUnitPlaceholders)Create aDocumentPartthat references actionable (i.e., translatable, localizable) properties and store it for later processing.StartGroupEventBuilder. startGroup(GenericSkeleton startMarker, String commonTagType, LocaleId locale, List<PropertyTextUnitPlaceholder> propertyTextUnitPlaceholders)Create aStartGroupEventand add it to the event queue.voidEventBuilder. startTextUnit(String text, GenericSkeleton startMarker, LocaleId locale, List<PropertyTextUnitPlaceholder> propertyTextUnitPlaceholders)Start a complexTextUnitwith actionable (translatable, writable or read-only) attributes.Constructor parameters in net.sf.okapi.common.filters with type arguments of type LocaleId Constructor Description Default(Map<LocaleId,StringBuilder> outputs) -
Uses of LocaleId in net.sf.okapi.common.filterwriter
Methods in net.sf.okapi.common.filterwriter that return LocaleId Modifier and Type Method Description LocaleIdGenericFilterWriter. getLocale()LocaleIdZipFilterWriter. getLocale()LocaleIdTMXWriter. getSrcLoc()LocaleIdTMXWriter. getTrgLoc()Methods in net.sf.okapi.common.filterwriter with parameters of type LocaleId Modifier and Type Method Description voidXLIFFWriter. create(String xliffPath, String skeletonPath, LocaleId srcLoc, LocaleId trgLoc, String dataType, String original, String message)Creates a new XLIFF document.voidITSContent. 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 voidGenericFilterWriter. processStartDocument(LocaleId outputLocale, String outputEncoding, StartDocument resource)protected voidGenericFilterWriter. setLocale(LocaleId locale)voidGenericFilterWriter. setOptions(LocaleId locale, String defaultEncoding)voidIFilterWriter. setOptions(LocaleId locale, String defaultEncoding)Sets the options for this writer.voidTMXFilterWriter. setOptions(LocaleId locale, String defaultEncoding)Sets the options for this writer.voidXLIFFWriter. setOptions(LocaleId locale, String defaultEncoding)voidZipFilterWriter. setOptions(LocaleId locale, String defaultEncoding)voidTMXWriter. setSrcLoc(LocaleId srcLoc)voidTMXWriter. setTrgLoc(LocaleId trgLoc)StringXLIFFContent. 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.StringXLIFFContent. toString(int quoteMode, boolean escapeGT, boolean codeOnlyMode, boolean gMode, boolean codeAttrs, boolean includeIts, LocaleId trgLocId)Generates an XLIFF string from the content.voidTMXWriter. writeAlternates(ITextUnit tu, LocaleId trgLoc)Writes the entries of anAltTranslationsAnnotationannotation(s) of a given text unit to the TMX document.voidTMXWriter. writeStartDocument(LocaleId sourceLocale, LocaleId targetLocale, String creationTool, String creationToolVersion, String segType, String originalTMFormat, String dataType)Writes the start of the TMC document.voidTMXWriter. writeStartDocument(StartDocument startDocument, LocaleId sourceLocale, LocaleId targetLocale, String creationTool, String creationToolVersion, String segType, String originalTMFormat, String dataType)Writes the start of the TMC document.voidTMXWriter. writeTU(TextFragment source, TextFragment target, String tuid, Map<String,String> attributes, LocaleId altTrgLoc)Writes a TMX TU element.voidTMXWriter. writeTUFull(ITextUnit item, LocaleId sourceLocId)Writes a TextUnit (all targets) with all the properties associated to it.protected voidTMXWriter. writeTUV(TextFragment frag, LocaleId locale, TextContainer contForProp)Writes a TUV element. -
Uses of LocaleId in net.sf.okapi.common.pipeline
Methods in net.sf.okapi.common.pipeline that return LocaleId Modifier and Type Method Description LocaleIdBasePipelineStep. getSourceLocale()default LocaleIdIPipelineStep. getSourceLocale()Delegate to concrete classLocaleIdBasePipelineStep. getTargetLocale()default LocaleIdIPipelineStep. getTargetLocale()Delegate to concrete classMethods in net.sf.okapi.common.pipeline with parameters of type LocaleId Modifier and Type Method Description voidBasePipelineStep. setSourceLocale(LocaleId sourceLocale)default voidIPipelineStep. setSourceLocale(LocaleId sourceLocale)Delegate to concrete classvoidBasePipelineStep. setTargetLocale(LocaleId targetLocale)default voidIPipelineStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.common.pipelinebuilder
Methods in net.sf.okapi.common.pipelinebuilder with parameters of type LocaleId Modifier and Type Method Description XBatchXBatch. addItem(String dir, String file, String defaultEncoding, URI outputURI, String outputEncoding, LocaleId sourceLocale, LocaleId targetLocale)XBatchXBatch. addItem(String dir, String file, String defaultEncoding, LocaleId sourceLocale, LocaleId targetLocale)XBatchXBatch. addItems(String dir, String[] fileList, String defaultEncoding, URI outputURI, String outputEncoding, LocaleId sourceLocale, LocaleId targetLocale)XBatchXBatch. addItems(String dir, String[] fileList, String defaultEncoding, LocaleId sourceLocale, LocaleId targetLocale)Constructors in net.sf.okapi.common.pipelinebuilder with parameters of type LocaleId Constructor Description XBatchItem(InputStream inputStream, String defaultEncoding, String outputPath, String outputEncoding, LocaleId sourceLocale, LocaleId targetLocale)XBatchItem(InputStream inputStream, String defaultEncoding, LocaleId sourceLocale)XBatchItem(InputStream inputStream, String defaultEncoding, LocaleId sourceLocale, LocaleId targetLocale)XBatchItem(CharSequence inputCharSequence, LocaleId sourceLocale)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(URI inputURI, String defaultEncoding, LocaleId sourceLocale)XBatchItem(URI inputURI, 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)XBatchItem(URL inputURL, String defaultEncoding, LocaleId sourceLocale)XBatchItem(URL inputURL, String defaultEncoding, LocaleId sourceLocale, LocaleId targetLocale)XDocument(InputStream inputStream, String defaultEncoding, String outputPath, String outputEncoding, LocaleId sourceLocale, LocaleId targetLocale)XDocument(InputStream inputStream, String defaultEncoding, LocaleId sourceLocale)XDocument(InputStream inputStream, String defaultEncoding, LocaleId sourceLocale, LocaleId targetLocale)XDocument(CharSequence inputCharSequence, LocaleId sourceLocale)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(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(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)XDocument(URL inputURL, String defaultEncoding, LocaleId sourceLocale)XDocument(URL inputURL, String defaultEncoding, LocaleId sourceLocale, LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.common.pipelinedriver
Methods in net.sf.okapi.common.pipelinedriver that return LocaleId Modifier and Type Method Description LocaleIdBatchItemContext. getSourceLocale(int index)LocaleIdIBatchItemContext. getSourceLocale(int index)Gets the source locale for a given input document of this batch item.LocaleIdBatchItemContext. getTargetLocale(int index)LocaleIdIBatchItemContext. getTargetLocale(int index)Gets the target locale for a given input document of this batch item.Methods in net.sf.okapi.common.pipelinedriver with parameters of type LocaleId Modifier and Type Method Description voidIPipelineDriver. addBatchItem(URI inputURI, String defaultEncoding, String filterConfigId, LocaleId srcLoc, LocaleId trgLoc)Adds an item to this batch, using direct parameters.voidPipelineDriver. addBatchItem(URI inputURI, String defaultEncoding, String filterConfigId, LocaleId srcLoc, LocaleId trgLoc)Constructors in net.sf.okapi.common.pipelinedriver with parameters of type LocaleId Constructor 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. -
Uses of LocaleId in net.sf.okapi.common.query
Methods in net.sf.okapi.common.query that return LocaleId Modifier and Type Method Description LocaleIdIQuery. getSourceLanguage()Gets the current source language for this query engine.LocaleIdIQuery. getTargetLanguage()Gets the current target language for this query engine.Methods in net.sf.okapi.common.query with parameters of type LocaleId Modifier and Type Method Description voidIQuery. setLanguages(LocaleId sourceLocale, LocaleId targetLocale)Sets the source and target languages for this query engine.AltTranslationQueryResult. toAltTranslation(TextFragment originalSource, LocaleId sourceLocId, LocaleId targetLocId)Convert a QueryResult to anAltTranslation -
Uses of LocaleId in net.sf.okapi.common.resource
Fields in net.sf.okapi.common.resource declared as LocaleId Modifier and Type Field Description protected LocaleIdStartDocument. localeMethods in net.sf.okapi.common.resource that return LocaleId Modifier and Type Method Description LocaleIdStartDocument. getLocale()Gets the locale of this document.LocaleIdStartSubfilter. getLocale()LocaleIdAlignedPair. getLocaleId()Gets theLocaleIdof the target partsLocaleIdPipelineParameters. getSourceLocale()LocaleIdRawDocument. getSourceLocale()Gets the source locale associated to this resource.LocaleIdPipelineParameters. getTargetLocale()LocaleIdRawDocument. getTargetLocale()Gets the target locale associated to this resource.Methods in net.sf.okapi.common.resource that return types with arguments of type LocaleId Modifier and Type Method Description Set<LocaleId>TargetPropertiesAnnotation. getLocales()Gets a set of the target locales available in this annotation.default Set<LocaleId>IWithTargetProperties. getTargetLocales()Gets all the target locales for this resource.List<LocaleId>PipelineParameters. getTargetLocales()List<LocaleId>RawDocument. getTargetLocales()Gets the list of target locales associated to this resource.Set<LocaleId>TextUnit. getTargetLocales()Iterator<LocaleId>TargetPropertiesAnnotation. iterator()Gets a new iterator for this annotation.Methods in net.sf.okapi.common.resource with parameters of type LocaleId Modifier and Type Method Description voidAlignedSegments. align(List<AlignedPair> alignedSegmentPairs, LocaleId trgLoc)voidAlignedSegments. align(LocaleId trgLoc)Force one to one alignment.voidIAlignedSegments. align(List<AlignedPair> alignedSegmentPairs, LocaleId trgLoc)Aligns all the segments listed in the aligned pairs for given locale.voidIAlignedSegments. align(LocaleId trgLoc)Aligns all the target segments with the source segments for the given locale.voidAlignedSegments. alignCollapseAll(LocaleId trgLoc)voidIAlignedSegments. alignCollapseAll(LocaleId trgLoc)Aligns all the segments for the specified sources and targets by collapsing all segments into one.voidAlignedSegments. append(Segment srcSeg, Segment trgSeg, LocaleId trgLoc)voidIAlignedSegments. append(Segment srcSeg, Segment trgSeg, LocaleId trgLoc)Adds given source and target segments to the end of the content.static ITextUnitTextUnitUtil. 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.SubFilterSkeletonWriterStartSubfilter. createSkeletonWriter(StartSubfilter resource, LocaleId outputLocale, String outputEncoding, ILayerProvider layer)TextContainerITextUnit. createTarget(LocaleId locId, boolean overwriteExisting, int creationOptions)Creates or get the target for this TextUnit.TextContainerTextUnit. createTarget(LocaleId targetLocale, boolean overwriteExisting, int creationOptions)default PropertyIWithTargetProperties. createTargetProperty(LocaleId locId, String name, boolean overwriteExisting, int creationOptions)Create targetPropertywithout access to the source propertydefault PropertyIWithTargetProperties. createTargetProperty(LocaleId locId, String name, Property sourceProperty, boolean overwriteExisting, int creationOptions)Creates or get a target property based on the corresponding source.PropertyTextUnit. createTargetProperty(LocaleId locId, String name, boolean overwriteExisting, int creationOptions)voidITextUnit. createTargetSegmentation(ISegmenter segmenter, LocaleId targetLocale)Segments the specified target content based on the rules provided by a given ISegmenter.voidTextUnit. createTargetSegmentation(ISegmenter segmenter, LocaleId targetLocale)Map<String,Property>TargetPropertiesAnnotation. get(LocaleId locId)Gets the properties for a given target locale.AlignmentStatusAlignedSegments. getAlignmentStatus(LocaleId trgLoc)AlignmentStatusIAlignedSegments. getAlignmentStatus(LocaleId trgLoc)Gets the status of the alignment the given target locale in this text unit.SegmentAlignedSegments. getCorrespondingSource(Segment trgSeg, LocaleId trgLoc)SegmentIAlignedSegments. getCorrespondingSource(Segment trgSeg, LocaleId trgLoc)Gets the source segment corresponding to a given target segmentSegmentAlignedSegments. getCorrespondingTarget(Segment srcSeg, LocaleId trgLoc)SegmentIAlignedSegments. getCorrespondingTarget(Segment seg, LocaleId trgLoc)Gets the target segment corresponding to a given source segmentSegmentAlignedSegments. getSource(int index, LocaleId trgLoc)SegmentIAlignedSegments. getSource(int index, LocaleId trgLoc)Gets the source segment for the given target locale at a given position.TextContainerITextUnit. getTarget(LocaleId locId)Gets the target object for this text unit for a given locale.TextContainerTextUnit. getTarget(LocaleId locId)static <A extends IAnnotation>
ATextUnitUtil. 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)default PropertyIWithTargetProperties. getTargetProperty(LocaleId locId, String name)Gets the target property for a given name and target locale.PropertyTextUnit. getTargetProperty(LocaleId locId, String name)default Set<String>IWithTargetProperties. getTargetPropertyNames(LocaleId locId)Gets the names of all the properties for a given target locale in this resource.Set<String>TextUnit. getTargetPropertyNames(LocaleId locId)SegmentITextUnit. getTargetSegment(LocaleId trgLoc, String segId, boolean createIfNeeded)Gets the segment for a given segment id in a given target.SegmentTextUnit. getTargetSegment(LocaleId trgLoc, String segId, boolean createIfNeeded)ISegmentsITextUnit. getTargetSegments(LocaleId trgLoc)Get the segments for a given target.ISegmentsTextUnit. getTargetSegments(LocaleId trgLoc)static StringTextUnitUtil. getTargetText(ITextUnit textUnit, LocaleId locId)Gets text of the first part of the target of a given text unit resource in the given locale.booleanITextUnit. hasTarget(LocaleId locId)Indicates if there is a target object for a given locale for this text unit.booleanTextUnit. hasTarget(LocaleId locId)default booleanIWithTargetProperties. hasTargetProperty(LocaleId locId, String name)Indicates if a property exists for a given name and target locale.booleanTextUnit. hasTargetProperty(LocaleId locId, String name)voidAlignedSegments. insert(int index, Segment srcSeg, Segment trgSeg, LocaleId trgLoc)voidIAlignedSegments. insert(int index, Segment srcSeg, Segment trgSeg, LocaleId trgLoc)Inserts given source and target segments at the specified position in the list of segments.static booleanTextUnitUtil. isApproved(ITextUnit tu, LocaleId targetLocale)Iterator<Segment>AlignedSegments. iterator(LocaleId trgLoc)Iterator<Segment>IAlignedSegments. iterator(LocaleId trgLoc)Gets an iterator for the source of the specified target locale.voidAlignedSegments. joinAll(LocaleId trgLoc)voidIAlignedSegments. joinAll(LocaleId trgLoc)Joins all segments for the specified sources and targets.voidAlignedSegments. joinWithNext(Segment seg, LocaleId trgLoc)voidIAlignedSegments. 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.booleanAlignedSegments. remove(Segment seg, LocaleId trgLoc)booleanIAlignedSegments. remove(Segment seg, LocaleId trgLoc)Removes the given segment and any segments with the same id from the specified sources and targets.voidITextUnit. removeTarget(LocaleId locId)Removes a given target object from this text unit.voidTextUnit. removeTarget(LocaleId locId)default voidIWithTargetProperties. removeTargetProperty(LocaleId locId, String name)Removes a target property of a given name.voidTextUnit. removeTargetProperty(LocaleId locId, String name)voidAlignedSegments. segmentSource(ISegmenter segmenter, LocaleId targetLocale)voidIAlignedSegments. segmentSource(ISegmenter segmenter, LocaleId targetLocale)Segments the source content used for the given target locale based on the rules provided by a givenISegmenter.voidAlignedSegments. segmentTarget(ISegmenter segmenter, LocaleId targetLocale)voidIAlignedSegments. segmentTarget(ISegmenter segmenter, LocaleId targetLocale)Segments the specified target content based on the rules provided by a givenISegmenter.voidTargetPropertiesAnnotation. set(LocaleId locId, Map<String,Property> properties)Sets properties for a given target locale.voidStartDocument. setLocale(LocaleId locale)Sets the locale of the document.voidAlignedSegments. setSegment(int index, Segment seg, LocaleId trgLoc)voidIAlignedSegments. setSegment(int index, Segment seg, LocaleId trgLoc)Replaces a segment at a given position with a clone of the given segment.voidPipelineParameters. setSourceLocale(LocaleId sourceLocale)voidRawDocument. setSourceLocale(LocaleId locId)Sets the source locale associated to this document.TextContainerITextUnit. setTarget(LocaleId locId, TextContainer text)Sets the target object for this text unit for a given locale.TextContainerTextUnit. setTarget(LocaleId locId, TextContainer text)static voidTextUnitUtil. setTargetAnnotation(ITextUnit textUnit, LocaleId locId, IAnnotation annotation)Attaches an annotation to the target part of a given text unit resource in a given language.TextFragmentITextUnit. setTargetContent(LocaleId locId, TextFragment content)Sets the content of the target for a given locale for this TextUnit.TextFragmentTextUnit. setTargetContent(LocaleId locId, TextFragment content)voidPipelineParameters. setTargetLocale(LocaleId targetLocale)voidRawDocument. setTargetLocale(LocaleId locId)Sets the target locale associated to this document.default PropertyIWithTargetProperties. setTargetProperty(LocaleId locId, Property property)Sets a target property.PropertyTextUnit. setTargetProperty(LocaleId locId, Property property)static voidTextUnitUtil. 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.SegmentAlignedSegments. splitSource(LocaleId trgLoc, Segment srcSeg, int splitPos)SegmentIAlignedSegments. splitSource(LocaleId trgLoc, Segment srcSeg, int splitPos)Splits a given source segment into two.SegmentAlignedSegments. splitTarget(LocaleId trgLoc, Segment trgSeg, int splitPos)SegmentIAlignedSegments. splitTarget(LocaleId trgLoc, Segment trgSeg, int splitPos)Splits a given target segment into two.Method parameters in net.sf.okapi.common.resource with type arguments of type LocaleId Modifier and Type Method Description voidPipelineParameters. setTargetLocales(List<LocaleId> trgLocs)voidRawDocument. setTargetLocales(List<LocaleId> locIds)Sets the list of target locales associated to this document.Constructors in net.sf.okapi.common.resource with parameters of type LocaleId Constructor Description AlignedPair(List<TextPart> sourceParts, List<TextPart> targetParts, LocaleId localeId)Creates an AlignedPair from source and targetTextPartsAlignedPair(Segment sourceSegment, Segment targetSegment, LocaleId localeId)Creates an AlignedPair from source and targetSegmentsRawDocument(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(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(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. -
Uses of LocaleId in net.sf.okapi.common.resource.simplifier
Methods in net.sf.okapi.common.resource.simplifier that return LocaleId Modifier and Type Method Description LocaleIdAbstractResourceSimplifier. getTargetLocale()Methods in net.sf.okapi.common.resource.simplifier with parameters of type LocaleId Modifier and Type Method Description voidAbstractResourceSimplifier. setTargetLocale(LocaleId targetLocale)voidIResourceSimplifier. setTargetLocale(LocaleId targetLocale)Constructors in net.sf.okapi.common.resource.simplifier with parameters of type LocaleId Constructor Description ResourceSimplifier(LocaleId trgLoc) -
Uses of LocaleId in net.sf.okapi.common.skeleton
Fields in net.sf.okapi.common.skeleton declared as LocaleId Modifier and Type Field Description protected LocaleIdGenericSkeletonWriter. inputLocprotected LocaleIdGenericSkeletonWriter. outputLocMethods in net.sf.okapi.common.skeleton that return LocaleId Modifier and Type Method Description LocaleIdGenericSkeletonWriter. getInputLoc()LocaleIdGenericSkeletonPart. getLocale()LocaleIdGenericSkeletonWriter. getOutputLoc()Methods in net.sf.okapi.common.skeleton that return types with arguments of type LocaleId Modifier and Type Method Description Set<LocaleId>StorageList. getTargetLocales()Methods in net.sf.okapi.common.skeleton with parameters of type LocaleId Modifier and Type Method Description voidGenericSkeleton. 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.GenericSkeletonPartGenericSkeleton. 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.PropertyStorageList. createTargetProperty(LocaleId locId, String name, boolean overwrite, int creationOptions)protected StringGenericSkeletonWriter. expandCodeContent(Code code, LocaleId locToUse, EncoderContext context)static intSkeletonUtil. findTuRefInSkeleton(GenericSkeleton skel, LocaleId locId)Finds either source or target reference in the skeleton.protected StringGenericSkeletonWriter. getContent(ITextUnit tu, LocaleId locToUse, EncoderContext context)Gets the original content of a given text unit.StringGenericSkeletonWriter. getContent(TextFragment tf, LocaleId locToUse, EncoderContext context)Gets the original content of a TextFragment.protected StringGenericSkeletonWriter. getPropertyValue(INameable resource, String name, LocaleId locToUse, EncoderContext context)protected StringGenericSkeletonWriter. getString(INameable ref, String propName, LocaleId locToUse, EncoderContext context)protected StringGenericSkeletonWriter. getString(ITextUnit tu, LocaleId locToUse, EncoderContext context)Gets the skeleton and the original content of a given text unit.protected StringGenericSkeletonWriter. getString(StorageList list, LocaleId locToUse, EncoderContext context)PropertyStorageList. getTargetProperty(LocaleId language, String name)Set<String>StorageList. getTargetPropertyNames(LocaleId language)booleanStorageList. hasTargetProperty(LocaleId language, String name)static booleanSkeletonUtil. hasTuRef(GenericSkeleton skel, LocaleId locId)Determines if a given skeleton contains a target reference in a given locale.StringGenericSkeletonWriter. processStartDocument(LocaleId outputLocale, String outputEncoding, ILayerProvider layer, EncoderManager encoderManager, StartDocument resource)StringISkeletonWriter. processStartDocument(LocaleId outputLocale, String outputEncoding, ILayerProvider layer, EncoderManager encoderManager, StartDocument resource)Processes the START_DOCUMENT event.voidStorageList. removeTargetProperty(LocaleId language, String name)voidGenericSkeletonPart. setLocale(LocaleId locId)voidGenericSkeletonWriter. setOutputLoc(LocaleId outputLoc)PropertyStorageList. setTargetProperty(LocaleId language, Property property)Constructors in net.sf.okapi.common.skeleton with parameters of type LocaleId Constructor Description GenericSkeletonPart(char data, IResource parent, LocaleId locId)GenericSkeletonPart(String data, IResource parent, LocaleId locId)GenericSkeletonSimplifier(boolean isMultilingual, GenericSkeletonWriter skelWriter, String outEncoding, LocaleId trgLoc)GenericSkeletonSimplifier(boolean isMultilingual, GenericSkeletonWriter skelWriter, LocaleId trgLoc)GenericSkeletonSimplifier(String outEncoding, LocaleId trgLoc)GenericSkeletonSimplifier(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) -
Uses of LocaleId in net.sf.okapi.connectors.apertium
Methods in net.sf.okapi.connectors.apertium with parameters of type LocaleId Modifier and Type Method Description protected StringApertiumMTConnector. toInternalCode(LocaleId standardCode) -
Uses of LocaleId in net.sf.okapi.connectors.bifile
Methods in net.sf.okapi.connectors.bifile with parameters of type LocaleId Modifier and Type Method Description voidBilingualFileConnector. setLanguages(LocaleId sourceLocale, LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.connectors.google
Methods in net.sf.okapi.connectors.google that return LocaleId Modifier and Type Method Description protected LocaleIdGoogleMTv2Connector. convertGoogleLanguageCode(String lang)Methods in net.sf.okapi.connectors.google that return types with arguments of type LocaleId Modifier and Type Method Description List<LocaleId>GoogleMTv2Connector. getSupportedLanguages()Methods in net.sf.okapi.connectors.google with parameters of type LocaleId Modifier and Type Method Description protected StringGoogleMTv2Connector. toInternalCode(LocaleId locale) -
Uses of LocaleId in net.sf.okapi.connectors.kantan
Methods in net.sf.okapi.connectors.kantan with parameters of type LocaleId Modifier and Type Method Description protected StringKantanMTv21Connector. toInternalCode(LocaleId locId) -
Uses of LocaleId in net.sf.okapi.connectors.microsoft
Methods in net.sf.okapi.connectors.microsoft with parameters of type LocaleId Modifier and Type Method Description voidMicrosoftMTConnector. setLanguages(LocaleId sourceLocale, LocaleId targetLocale)protected StringMicrosoftMTConnector. toInternalCode(LocaleId locale) -
Uses of LocaleId in net.sf.okapi.connectors.mymemory
Methods in net.sf.okapi.connectors.mymemory with parameters of type LocaleId Modifier and Type Method Description protected StringMyMemoryTMConnector. toInternalCode(LocaleId locale) -
Uses of LocaleId in net.sf.okapi.connectors.pensieve
Methods in net.sf.okapi.connectors.pensieve with parameters of type LocaleId Modifier and Type Method Description voidPensieveTMConnector. setLanguages(LocaleId sourceLocale, LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.connectors.tda
Methods in net.sf.okapi.connectors.tda with parameters of type LocaleId Modifier and Type Method Description voidTDASearchConnector. setLanguages(LocaleId sourceLocale, LocaleId targetLocale)protected StringTDASearchConnector. toInternalCode(LocaleId locale) -
Uses of LocaleId in net.sf.okapi.connectors.translatetoolkit
Methods in net.sf.okapi.connectors.translatetoolkit with parameters of type LocaleId Modifier and Type Method Description protected StringTranslateToolkitTMConnector. toInternalCode(LocaleId standardCode) -
Uses of LocaleId in net.sf.okapi.filters.abstractmarkup
Methods in net.sf.okapi.filters.abstractmarkup with parameters of type LocaleId Modifier and Type Method Description protected voidAbstractMarkupFilter. startGroup(GenericSkeleton startMarker, String commonTagType, LocaleId locale, List<PropertyTextUnitPlaceholder> propertyTextUnitPlaceholders) -
Uses of LocaleId in net.sf.okapi.filters.doxygen
Methods in net.sf.okapi.filters.doxygen with parameters of type LocaleId Modifier and Type Method Description voidDoxygenWriter. setOptions(LocaleId language, String defaultEncoding) -
Uses of LocaleId in net.sf.okapi.filters.icml
Methods in net.sf.okapi.filters.icml with parameters of type LocaleId Modifier and Type Method Description voidICMLFilterWriter. setOptions(LocaleId locale, String defaultEncoding) -
Uses of LocaleId in net.sf.okapi.filters.idml
Methods in net.sf.okapi.filters.idml with parameters of type LocaleId Modifier and Type Method Description voidIDMLFilterWriter. setOptions(LocaleId locale, String defaultEncoding) -
Uses of LocaleId in net.sf.okapi.filters.its
Fields in net.sf.okapi.filters.its declared as LocaleId Modifier and Type Field Description protected LocaleIdITSFilter. srcLang -
Uses of LocaleId in net.sf.okapi.filters.its.html5
Methods in net.sf.okapi.filters.its.html5 with parameters of type LocaleId Modifier and Type Method Description StringHTML5SkeletonWriter. getContent(TextFragment tf, LocaleId locToUse, EncoderContext context)Gets the original content of a TextFragment. -
Uses of LocaleId in net.sf.okapi.filters.markdown
Methods in net.sf.okapi.filters.markdown with parameters of type LocaleId Modifier and Type Method Description protected voidMarkdownFilterWriter. processStartDocument(LocaleId outputLocale, String outputEncoding, StartDocument resource) -
Uses of LocaleId in net.sf.okapi.filters.mosestext
Methods in net.sf.okapi.filters.mosestext with parameters of type LocaleId Modifier and Type Method Description voidMosesTextFilterWriter. setOptions(LocaleId locale, String defaultEncoding) -
Uses of LocaleId in net.sf.okapi.filters.openxml
Methods in net.sf.okapi.filters.openxml with parameters of type LocaleId Modifier and Type Method Description voidOpenXMLFilter. setOptions(LocaleId sourceLanguage, String defaultEncoding, boolean generateSkeleton)Sets language, encoding, and generation options for the filter.voidOpenXMLFilter. setOptions(LocaleId sourceLanguage, LocaleId targetLanguage, String defaultEncoding, boolean generateSkeleton)Sets language, encoding, and generation options for the filter.voidOpenXMLFilterWriter. setOptions(LocaleId language, String defaultEncoding) -
Uses of LocaleId in net.sf.okapi.filters.pensieve
Methods in net.sf.okapi.filters.pensieve with parameters of type LocaleId Modifier and Type Method Description voidPensieveFilterWriter. setOptions(LocaleId locale, String defaultEncoding) -
Uses of LocaleId in net.sf.okapi.filters.plaintext.base
Methods in net.sf.okapi.filters.plaintext.base with parameters of type LocaleId Modifier and Type Method Description protected TextProcessingResultBasePlainTextFilter. sendAsTarget(ITextUnit target, ITextUnit source, LocaleId language) -
Uses of LocaleId in net.sf.okapi.filters.po
Methods in net.sf.okapi.filters.po with parameters of type LocaleId Modifier and Type Method Description static StringPluralForms. getExpression(LocaleId language)voidPOWriter. setOptions(LocaleId language, String defaultEncoding) -
Uses of LocaleId in net.sf.okapi.filters.rainbowkit
Methods in net.sf.okapi.filters.rainbowkit that return LocaleId Modifier and Type Method Description LocaleIdManifest. getSourceLocale()LocaleIdManifest. getTargetLocale()Methods in net.sf.okapi.filters.rainbowkit with parameters of type LocaleId Modifier and Type Method Description voidManifest. setInformation(String packageRoot, LocaleId srcLoc, LocaleId trgLoc, String inputRoot, String packageId, String projectId, String creatorParams, String tempPackageRoot) -
Uses of LocaleId in net.sf.okapi.filters.table.base
Fields in net.sf.okapi.filters.table.base with type parameters of type LocaleId Modifier and Type Field Description protected List<LocaleId>BaseTableFilter. targetLanguages -
Uses of LocaleId in net.sf.okapi.filters.table.csv
Methods in net.sf.okapi.filters.table.csv with parameters of type LocaleId Modifier and Type Method Description StringCSVSkeletonWriter. processStartDocument(LocaleId outputLocale, String outputEncoding, ILayerProvider layer, EncoderManager encoderManager, StartDocument resource) -
Uses of LocaleId in net.sf.okapi.filters.tex
Methods in net.sf.okapi.filters.tex with parameters of type LocaleId Modifier and Type Method Description protected StringTEXSkeletonWriter. getContent(ITextUnit tu, LocaleId locToUse, EncoderContext context)Gets the original content of a given text unit. -
Uses of LocaleId in net.sf.okapi.filters.transifex
Methods in net.sf.okapi.filters.transifex that return LocaleId Modifier and Type Method Description LocaleIdProject. getSourceLocale()LocaleIdProject. getTargetLocale()Methods in net.sf.okapi.filters.transifex with parameters of type LocaleId Modifier and Type Method Description voidProject. read(BufferedReader br, LocaleId srcLoc, LocaleId trgLoc)voidTransifexFilterWriter. setOptions(LocaleId locale, String defaultEncoding)voidProject. setSourceLocale(LocaleId srcLoc)voidProject. setTargetLocale(LocaleId trgLoc) -
Uses of LocaleId in net.sf.okapi.filters.transtable
Methods in net.sf.okapi.filters.transtable with parameters of type LocaleId Modifier and Type Method Description voidTransTableWriter. setOptions(LocaleId language, String defaultEncoding) -
Uses of LocaleId in net.sf.okapi.filters.wiki
Methods in net.sf.okapi.filters.wiki with parameters of type LocaleId Modifier and Type Method Description voidWikiWriter. setOptions(LocaleId language, String defaultEncoding) -
Uses of LocaleId in net.sf.okapi.filters.xini
Methods in net.sf.okapi.filters.xini with parameters of type LocaleId Modifier and Type Method Description voidXINIWriter. setOptions(LocaleId locale, String defaultEncoding) -
Uses of LocaleId in net.sf.okapi.filters.xini.rainbowkit
Methods in net.sf.okapi.filters.xini.rainbowkit with parameters of type LocaleId Modifier and Type Method Description voidXINIRainbowkitWriter. setOptions(LocaleId locale, String defaultEncoding) -
Uses of LocaleId in net.sf.okapi.filters.xliff
Methods in net.sf.okapi.filters.xliff that return LocaleId Modifier and Type Method Description LocaleIdXLIFFFilter. getCurrentSourceLocale()LocaleIdXLIFFFilter. getCurrentTargetLocale()Methods in net.sf.okapi.filters.xliff with parameters of type LocaleId Modifier and Type Method Description static voidXliffXtmFilterExtension. consolidateProperties(ITextUnit tu, LocaleId trgLocId)Consolidates all information for XTM at the segment-level.protected StringXLIFFSkeletonWriter. expandCodeContent(Code code, LocaleId locToUse, EncoderContext context)protected StringXLIFFSkeletonWriter. getContent(ITextUnit tu, LocaleId locToUse, EncoderContext context)protected StringXLIFFSkeletonWriter. getPropertyValue(INameable resource, String name, LocaleId locToUse, EncoderContext context)StringXLIFFSkeletonWriter. processStartDocument(LocaleId outputLocale, String outputEncoding, ILayerProvider layer, EncoderManager encoderManager, StartDocument resource) -
Uses of LocaleId in net.sf.okapi.filters.xliff2
Methods in net.sf.okapi.filters.xliff2 that return LocaleId Modifier and Type Method Description LocaleIdXLIFF2FilterWriter. getSourceLocale()LocaleIdXLIFF2FilterWriter. getTargetLocale()Methods in net.sf.okapi.filters.xliff2 with parameters of type LocaleId Modifier and Type Method Description voidXLIFF2FilterWriter. setOptions(LocaleId locale, String defaultEncoding)Constructors in net.sf.okapi.filters.xliff2 with parameters of type LocaleId Constructor Description X2ToOkpConverter(LocaleId trgLoc)Creates a new converter object. -
Uses of LocaleId in net.sf.okapi.filters.xml
Methods in net.sf.okapi.filters.xml with parameters of type LocaleId Modifier and Type Method Description protected StringXMLSkeletonWriter. 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"). -
Uses of LocaleId in net.sf.okapi.lib.merge.merge
Methods in net.sf.okapi.lib.merge.merge that return LocaleId Modifier and Type Method Description LocaleIdTextUnitMerger. getTargetLocale()LocaleIdTextUnitMergerSerialized. getTargetLocale()Methods in net.sf.okapi.lib.merge.merge with parameters of type LocaleId Modifier and Type Method Description voidSkeletonMergerWriter. setOptions(LocaleId targetLocale, String defaultEncoding)voidITextUnitMerger. setTargetLocale(LocaleId trgLoc)voidTextUnitMerger. setTargetLocale(LocaleId trgLoc)voidTextUnitMergerSerialized. setTargetLocale(LocaleId trgLoc) -
Uses of LocaleId in net.sf.okapi.lib.merge.step
Method parameters in net.sf.okapi.lib.merge.step with type arguments of type LocaleId Modifier and Type Method Description voidOriginalDocumentXliffMergerStep. setTargetLocales(List<LocaleId> targetLocales)Target locales. -
Uses of LocaleId in net.sf.okapi.lib.segmentation
Methods in net.sf.okapi.lib.segmentation that return LocaleId Modifier and Type Method Description LocaleIdSRXSegmenter. getLanguage()Methods in net.sf.okapi.lib.segmentation with parameters of type LocaleId Modifier and Type Method Description ISegmenterSRXDocument. compileLanguageRules(LocaleId languageCode, ISegmenter existingSegmenter)Compiles the all language rules applicable for a given language code, and assign them to a segmenter.voidSRXSegmenter. setLanguage(LocaleId languageCode) -
Uses of LocaleId in net.sf.okapi.lib.serialization.step
Method parameters in net.sf.okapi.lib.serialization.step with type arguments of type LocaleId Modifier and Type Method Description voidOriginalDocumentTextUnitFlatMergerStep. setTargetLocales(List<LocaleId> targetLocales)Target locales. -
Uses of LocaleId in net.sf.okapi.lib.serialization.textunitflat
Methods in net.sf.okapi.lib.serialization.textunitflat with parameters of type LocaleId Modifier and Type Method Description static TextUnitTextUnitFlat2Proto. toTextUnit(ITextUnit tu, LocaleId sourceLocale)static TextUnitsTextUnitFlat2Proto. toTextUnits(List<ITextUnit> textunits, LocaleId sourceLocale) -
Uses of LocaleId in net.sf.okapi.lib.serialization.writer
Methods in net.sf.okapi.lib.serialization.writer with parameters of type LocaleId Modifier and Type Method Description voidProtoBufferTextUnitFlatWriter. setOptions(LocaleId targetLocale, String defaultEncoding) -
Uses of LocaleId in net.sf.okapi.lib.terminology
Methods in net.sf.okapi.lib.terminology that return LocaleId Modifier and Type Method Description LocaleIdLangEntry. getLocale()Methods in net.sf.okapi.lib.terminology with parameters of type LocaleId Modifier and Type Method Description voidConceptEntry. addTerm(LocaleId locId, String term)LangEntryConceptEntry. 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.booleanConceptEntry. hasLocale(LocaleId locId)Indicates if there is a set of terms defined for a given locale.voidConceptEntry. removeEntries(LocaleId locId)Constructors in net.sf.okapi.lib.terminology with parameters of type LocaleId Constructor Description ConceptEntry(String source, String target, LocaleId srcLocale, LocaleId trgLocale)LangEntry(LocaleId locId) -
Uses of LocaleId in net.sf.okapi.lib.terminology.csv
Constructors in net.sf.okapi.lib.terminology.csv with parameters of type LocaleId Constructor Description CSVReader(LocaleId srcLoc, LocaleId trgLoc) -
Uses of LocaleId in net.sf.okapi.lib.terminology.simpletb
Methods in net.sf.okapi.lib.terminology.simpletb that return LocaleId Modifier and Type Method Description LocaleIdParameters. getSourceLocale()LocaleIdParameters. getTargetLocale()Methods in net.sf.okapi.lib.terminology.simpletb with parameters of type LocaleId Modifier and Type Method Description List<TermHit>SimpleTB. getExistingStrings(TextFragment frag, LocaleId fragmentLoc, LocaleId otherLoc)List<TermHit>SimpleTBConnector. getExistingStrings(TextFragment fragment, LocaleId fragmentLocId, LocaleId otherLocId)List<TermHit>SimpleTB. getExistingTerms(TextFragment frag, LocaleId fragmentLoc, LocaleId otherLoc)List<TermHit>SimpleTBConnector. getExistingTerms(TextFragment fragment, LocaleId fragmentLocId, LocaleId otherLocId)voidParameters. setSourceLocale(LocaleId locId)voidParameters. setTargetLocale(LocaleId locId)Constructors in net.sf.okapi.lib.terminology.simpletb with parameters of type LocaleId Constructor Description SimpleTB(LocaleId srcLoc, LocaleId trgLoc) -
Uses of LocaleId in net.sf.okapi.lib.terminology.tsv
Constructors in net.sf.okapi.lib.terminology.tsv with parameters of type LocaleId Constructor Description TSVReader(LocaleId srcLoc, LocaleId trgLoc) -
Uses of LocaleId in net.sf.okapi.lib.transifex
Methods in net.sf.okapi.lib.transifex with parameters of type LocaleId Modifier and Type Method 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) -
Uses of LocaleId in net.sf.okapi.lib.translation
Fields in net.sf.okapi.lib.translation declared as LocaleId Modifier and Type Field Description protected LocaleIdBaseConnector. srcLocprotected LocaleIdBaseConnector. trgLocMethods in net.sf.okapi.lib.translation that return LocaleId Modifier and Type Method Description LocaleIdBaseConnector. getSourceLanguage()LocaleIdQueryManager. getSourceLanguage()Gets the current source locale for this manager.LocaleIdBaseConnector. getTargetLanguage()LocaleIdQueryManager. getTargetLanguage()Gets the current target locale for this manager.Methods in net.sf.okapi.lib.translation with parameters of type LocaleId Modifier and Type Method Description voidBaseConnector. setLanguages(LocaleId sourceLocale, LocaleId targetLocale)voidQueryManager. setLanguages(LocaleId sourceLocale, LocaleId targetLocale)Sets the source and target locales for this manager and for all translation resources in this manager.protected StringBaseConnector. toInternalCode(LocaleId locId)Converts a locale identifier to the internal string value for a language/locale code for this connector.Constructors in net.sf.okapi.lib.translation with parameters of type LocaleId Constructor Description TextMatcher(LocaleId locale1, LocaleId locale2)Creates a new TextMatcher object. -
Uses of LocaleId in net.sf.okapi.lib.verification
Methods in net.sf.okapi.lib.verification that return LocaleId Modifier and Type Method Description LocaleIdQualityCheckSession. getSourceLocale()LocaleIdAbstractChecker. getSrcLoc()LocaleIdQualityCheckSession. getTargetLocale()LocaleIdAbstractChecker. getTrgLoc()Methods in net.sf.okapi.lib.verification with parameters of type LocaleId Modifier and Type Method Description intSpaceChecker. checkUnitSpacing(ITextUnit tu, LocaleId trgLoc)Checks and fixes white spaces for a given text unit.voidBlacklistChecker. initialize(net.sf.okapi.lib.verification.BlacklistTB termAccess, LocaleId loc)voidBlacklistChecker. initialize(net.sf.okapi.lib.verification.BlacklistTB termAccess, LocaleId loc, boolean useGenericCodes)voidLanguageToolConnector. initialize(LocaleId locId, LocaleId motherLocId, String serverUrl, boolean bilingualMode)voidTermChecker. initialize(SimpleTB termAccess, LocaleId srcLoc, LocaleId trgLoc, boolean stringSearch, boolean betweenCodes)voidIssue. setContainers(ITextUnit tu, LocaleId trgLoc)voidQualityCheckSession. setSourceLocale(LocaleId sourceLocale)voidQualityCheckSession. setTargetLocale(LocaleId targetLocale)voidAbstractChecker. startProcess(LocaleId sourceLocale, LocaleId targetLocale, Parameters params, List<Issue> issues)voidCharactersChecker. startProcess(LocaleId sourceLocale, LocaleId targetLocale, Parameters params, List<Issue> issues)voidGeneralChecker. startProcess(LocaleId sourceLocale, LocaleId targetLocale, Parameters params, List<Issue> issues)voidInlineCodesChecker. startProcess(LocaleId sourceLocale, LocaleId targetLocale, Parameters params, List<Issue> issues)voidLengthChecker. startProcess(LocaleId sourceLocale, LocaleId targetLocale, Parameters params, List<Issue> issues)voidLocalizableChecker. startProcess(LocaleId sourceLocale, LocaleId targetLocale, Parameters params, List<Issue> issues)voidPatternsChecker. startProcess(LocaleId sourceLocale, LocaleId targetLocale, Parameters params, List<Issue> issues)voidQualityCheckSession. startProcess(LocaleId srcLoc, LocaleId trgLoc)Constructors in net.sf.okapi.lib.verification with parameters of type LocaleId Constructor Description BlacklistReader(LocaleId loc) -
Uses of LocaleId in net.sf.okapi.steps.characterschecker
Methods in net.sf.okapi.steps.characterschecker with parameters of type LocaleId Modifier and Type Method Description voidCharactersCheckerStep. setSourceLocale(LocaleId sourceLocale)voidCharactersCheckerStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.cleanup
Methods in net.sf.okapi.steps.cleanup with parameters of type LocaleId Modifier and Type Method Description protected voidCleaner. checkCharacters(ITextUnit tu, Segment seg, LocaleId targetLocale)Wrapper for removing character corruption and detecting unexpected characters.protected voidCleaner. markSegmentForRemoval(ITextUnit tu, Segment seg, LocaleId targetLocale)Effectively marks the segment for removal by emptying the content for the given target.protected voidCleaner. matchRegexExpressions(ITextUnit tu, Segment seg, LocaleId targetLocale)Marks segments for removal that contain text which match given regular expressions.protected voidCleaner. normalizeMarks(ITextUnit tu, Segment seg, LocaleId targetLocale)protected voidCleaner. normalizeQuotation(ITextUnit tu, Segment seg, LocaleId targetLocale)Converts all quotation marks (curly or language specific) to straight quotes.protected voidCleaner. normalizeWhitespace(ITextUnit tu, Segment seg, LocaleId targetLocale)Converts whitespace ({tab}, {space}, {CR}, {LF}) to single space.protected booleanCleaner. pruneTextUnit(ITextUnit tu, LocaleId targetLocale)Removes segments from the text unit marked as not containing useful information.booleanCleaner. run(ITextUnit tu, LocaleId targetLocale)Performs the cleaning of the text unit according to user selected options.voidCleanupStep. setSourceLocale(LocaleId sourceLocale)voidCleanupStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.codesremoval
Methods in net.sf.okapi.steps.codesremoval with parameters of type LocaleId Modifier and Type Method Description voidCodesRemovalStep. setTargetLocale(LocaleId targetLocale)Constructors in net.sf.okapi.steps.codesremoval with parameters of type LocaleId Constructor Description CodesRemover(Parameters params, LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.common
Methods in net.sf.okapi.steps.common that return LocaleId Modifier and Type Method Description LocaleIdExtractionVerificationUtil. getTargetLocale()Methods in net.sf.okapi.steps.common with parameters of type LocaleId Modifier and Type Method Description voidExtractionVerificationUtil. setTargetLocale(LocaleId targetLocale)voidFilterEventsToRawDocumentStep. setTargetLocale(LocaleId targetLocale)voidFilterEventsWriterStep. setTargetLocale(LocaleId targetLocale)voidResourceSimplifierStep. setTargetLocale(LocaleId targetLocale)Method parameters in net.sf.okapi.steps.common with type arguments of type LocaleId Modifier and Type Method Description voidResourceSimplifierStep. setTargetLocales(List<LocaleId> targetLocales) -
Uses of LocaleId in net.sf.okapi.steps.common.copysource
Methods in net.sf.okapi.steps.common.copysource that return LocaleId Modifier and Type Method Description LocaleIdCopySourceOnEmptyTargetStep. getTargetLocale()Methods in net.sf.okapi.steps.common.copysource with parameters of type LocaleId Modifier and Type Method Description voidCopySourceOnEmptyTargetStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.common.createtarget
Methods in net.sf.okapi.steps.common.createtarget that return LocaleId Modifier and Type Method Description LocaleIdCreateTargetStep. getTargetLocale()Methods in net.sf.okapi.steps.common.createtarget with parameters of type LocaleId Modifier and Type Method Description voidCreateTargetStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.desegmentation
Methods in net.sf.okapi.steps.desegmentation that return types with arguments of type LocaleId Modifier and Type Method Description List<LocaleId>DesegmentationStep. getTargetLocales()Method parameters in net.sf.okapi.steps.desegmentation with type arguments of type LocaleId Modifier and Type Method Description voidDesegmentationStep. setTargetLocales(List<LocaleId> targetLocales) -
Uses of LocaleId in net.sf.okapi.steps.diffleverage
Methods in net.sf.okapi.steps.diffleverage with parameters of type LocaleId Modifier and Type Method Description voidDiffLeverageStep. setSourceLocale(LocaleId sourceLocale)voidDiffLeverageStep. setTargetLocale(LocaleId targetLocale)Target locale.Constructors in net.sf.okapi.steps.diffleverage with parameters of type LocaleId Constructor Description FuzzyTextUnitComparator(boolean codeSensitive, int threshold, LocaleId localeId) -
Uses of LocaleId in net.sf.okapi.steps.enrycher
Methods in net.sf.okapi.steps.enrycher with parameters of type LocaleId Modifier and Type Method Description voidEnrycherClient. setLocale(LocaleId locId)Sets the locale to use when invoking the Enrycher service. -
Uses of LocaleId in net.sf.okapi.steps.formatconversion
Methods in net.sf.okapi.steps.formatconversion with parameters of type LocaleId Modifier and Type Method Description voidCorpusFilterWriter. setOptions(LocaleId locale, String defaultEncoding)voidTableFilterWriter. setOptions(LocaleId locale, String defaultEncoding)voidWordTableFilterWriter. setOptions(LocaleId locale, String defaultEncoding)voidFormatConversionStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.fullwidthconversion
Methods in net.sf.okapi.steps.fullwidthconversion with parameters of type LocaleId Modifier and Type Method Description voidFullWidthConversionStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.gcaligner
Methods in net.sf.okapi.steps.gcaligner with parameters of type LocaleId Modifier and Type Method Description voidAlignmentScorer. setLocales(LocaleId p_sourceLocale, LocaleId p_targetLocale)Set source and target locales.voidGaleAndChurch. setLocales(LocaleId p_sourceLocale, LocaleId p_targetLocale)Set source and target locales.Constructors in net.sf.okapi.steps.gcaligner with parameters of type LocaleId Constructor Description AlignmentFunction(LocaleId p_sourceLocale, LocaleId p_targetLocale, List<AlignmentScorer<T>> scorerList, Penalties penalties) -
Uses of LocaleId in net.sf.okapi.steps.generalchecker
Methods in net.sf.okapi.steps.generalchecker with parameters of type LocaleId Modifier and Type Method Description voidGeneralCheckerStep. setSourceLocale(LocaleId sourceLocale)voidGeneralCheckerStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.idaligner
Methods in net.sf.okapi.steps.idaligner with parameters of type LocaleId Modifier and Type Method Description voidIdBasedAlignerStep. setSourceLocale(LocaleId sourceLocale)voidIdBasedAlignerStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.idbasedcopy
Methods in net.sf.okapi.steps.idbasedcopy with parameters of type LocaleId Modifier and Type Method Description voidIdBasedCopyStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.inconsistencycheck
Methods in net.sf.okapi.steps.inconsistencycheck with parameters of type LocaleId Modifier and Type Method Description voidInconsistencyCheckStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.inlinescodeschecker
Methods in net.sf.okapi.steps.inlinescodeschecker with parameters of type LocaleId Modifier and Type Method Description voidInlineCodesCheckerStep. setSourceLocale(LocaleId sourceLocale)voidInlineCodesCheckerStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.lengthchecker
Methods in net.sf.okapi.steps.lengthchecker with parameters of type LocaleId Modifier and Type Method Description voidLengthCheckerStep. setSourceLocale(LocaleId sourceLocale)voidLengthCheckerStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.leveraging
Methods in net.sf.okapi.steps.leveraging that return LocaleId Modifier and Type Method Description LocaleIdBatchTmLeveragingStep. getSourceLocale()LocaleIdLeveragingStep. getSourceLocale()LocaleIdBatchTmLeveragingStep. getTargetLocale()LocaleIdLeveragingStep. getTargetLocale()Methods in net.sf.okapi.steps.leveraging with parameters of type LocaleId Modifier and Type Method Description voidBatchTmLeveragingStep. setSourceLocale(LocaleId sourceLocale)voidLeveragingStep. setSourceLocale(LocaleId sourceLocale)voidBatchTmLeveragingStep. setTargetLocale(LocaleId targetLocale)voidLeveragingStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.localizablechecker
Methods in net.sf.okapi.steps.localizablechecker with parameters of type LocaleId Modifier and Type Method Description voidLocalizableCheckerStep. setSourceLocale(LocaleId sourceLocale)voidLocalizableCheckerStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.moses
Methods in net.sf.okapi.steps.moses with parameters of type LocaleId Modifier and Type Method Description voidMergingStep. setSourceLocale(LocaleId sourceLocale)voidExtractionStep. setTargetLocale(LocaleId targetLocale)voidMergingStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.msbatchtranslation
Methods in net.sf.okapi.steps.msbatchtranslation with parameters of type LocaleId Modifier and Type Method Description static EventMSBatchTranslationStep. generateAltOutput(String outFilePath, String defaultEncoding, LocaleId sourceLocale, LocaleId targetLocale, String filterConfigId)Generates the alternative output used by several Trados StepsvoidMSBatchTranslationStep. setSourceLocale(LocaleId sourceLocale)voidMSBatchTranslationStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.paraaligner
Methods in net.sf.okapi.steps.paraaligner with parameters of type LocaleId Modifier and Type Method Description net.sf.okapi.steps.paraaligner.AlignedParagraphsParagraphAligner. align(List<ITextUnit> sourceParagraphs, List<ITextUnit> targetParagraphs, LocaleId srcLocale, LocaleId trgLocale, boolean outputOneTOneMatchesOnly)voidParagraphAlignerStep. setSourceLocale(LocaleId sourceLocale)voidParagraphAlignerStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.patternschecker
Methods in net.sf.okapi.steps.patternschecker with parameters of type LocaleId Modifier and Type Method Description voidPatternsCheckerStep. setSourceLocale(LocaleId sourceLocale)voidPatternsCheckerStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.qualitycheck
Methods in net.sf.okapi.steps.qualitycheck with parameters of type LocaleId Modifier and Type Method Description voidQualityCheckStep. setSourceLocale(LocaleId sourceLocale)voidQualityCheckStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.rainbowkit.common
Methods in net.sf.okapi.steps.rainbowkit.common with parameters of type LocaleId Modifier and Type Method Description protected EventBasePackageWriter. creatRawDocumentEventSet(String inputPath, String defaultEncoding, LocaleId srcLoc, LocaleId trgLoc)longWordCounter. getWordCount(ITextUnit tu, LocaleId trgId)voidBasePackageWriter. setBatchInformation(String packageRoot, LocaleId srcLoc, LocaleId trgLoc, String inputRootDir, String rootDir, String packageId, String projectId, String creatorParams, String tempPackageRoot)voidIPackageWriter. setBatchInformation(String packageRoot, LocaleId srcLoc, LocaleId trgLoc, String inputRootDir, String rootDir, String packageId, String projectId, String creatorParams, String tempPackageRoot)voidBasePackageWriter. setOptions(LocaleId locale, String defaultEncoding)Constructors in net.sf.okapi.steps.rainbowkit.common with parameters of type LocaleId Constructor Description WordCounter(LocaleId locId) -
Uses of LocaleId in net.sf.okapi.steps.rainbowkit.creation
Methods in net.sf.okapi.steps.rainbowkit.creation that return LocaleId Modifier and Type Method Description LocaleIdExtractionStep. getSourceLocale()LocaleIdExtractionStep. getTargetLocale()Methods in net.sf.okapi.steps.rainbowkit.creation with parameters of type LocaleId Modifier and Type Method Description voidExtractionStep. setSourceLocale(LocaleId sourceLocale)voidExtractionStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.rainbowkit.postprocess
Methods in net.sf.okapi.steps.rainbowkit.postprocess that return LocaleId Modifier and Type Method Description LocaleIdMergingStep. getTargetLocale()Methods in net.sf.okapi.steps.rainbowkit.postprocess with parameters of type LocaleId Modifier and Type Method Description voidMergingStep. setTargetLocale(LocaleId targetLocale)Constructors in net.sf.okapi.steps.rainbowkit.postprocess with parameters of type LocaleId Constructor Description Merger(Parameters parameters, IFilterConfigurationMapper fcMapper, Manifest manifest, LocaleId forcedTargetLocale)Creates a Merger object. -
Uses of LocaleId in net.sf.okapi.steps.rainbowkit.rtf
Constructors in net.sf.okapi.steps.rainbowkit.rtf with parameters of type LocaleId Constructor Description RTFLayerWriter(ISkeletonWriter skelWriter, String path, LocaleId targetLocale, String targetEncoding) -
Uses of LocaleId in net.sf.okapi.steps.repetitionanalysis
Methods in net.sf.okapi.steps.repetitionanalysis with parameters of type LocaleId Modifier and Type Method Description voidRepetitionAnalysisStep. setSourceLocale(LocaleId sourceLocale)voidRepetitionAnalysisStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.searchandreplace
Methods in net.sf.okapi.steps.searchandreplace with parameters of type LocaleId Modifier and Type Method Description voidSearchAndReplaceStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.segmentation
Methods in net.sf.okapi.steps.segmentation that return LocaleId Modifier and Type Method Description LocaleIdSegmentationStep. getSourceLocale()Methods in net.sf.okapi.steps.segmentation that return types with arguments of type LocaleId Modifier and Type Method Description List<LocaleId>SegmentationStep. getTargetLocales()Methods in net.sf.okapi.steps.segmentation with parameters of type LocaleId Modifier and Type Method Description voidSegmentationStep. setSourceLocale(LocaleId sourceLocale)Method parameters in net.sf.okapi.steps.segmentation with type arguments of type LocaleId Modifier and Type Method Description voidSegmentationStep. setTargetLocales(List<LocaleId> targetLocales) -
Uses of LocaleId in net.sf.okapi.steps.sentencealigner
Methods in net.sf.okapi.steps.sentencealigner with parameters of type LocaleId Modifier and Type Method Description ITextUnitSentenceAligner. align(ITextUnit bilingualParagraph, LocaleId srcLocale, LocaleId trgLocale, boolean outputOneTOneMatchesOnly)ITextUnitSentenceAligner. align(ITextUnit sourceParagraph, ITextUnit targetParagraph, LocaleId srcLocale, LocaleId trgLocale, boolean outputOneTOneMatchesOnly)voidSentenceAlignerStep. setSourceLocale(LocaleId sourceLocale)voidSentenceAlignerStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.spacecheck
Methods in net.sf.okapi.steps.spacecheck with parameters of type LocaleId Modifier and Type Method Description voidSpaceCheckStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.termextraction
Methods in net.sf.okapi.steps.termextraction with parameters of type LocaleId Modifier and Type Method Description voidSimpleTermExtractor. initialize(Parameters params, LocaleId sourceLocaleId, String rootDir, String inputRootDir)Initializes this extractor.voidTermExtractionStep. setSourcetLocale(LocaleId sourceLocale) -
Uses of LocaleId in net.sf.okapi.steps.terminologyleveraging
Fields in net.sf.okapi.steps.terminologyleveraging declared as LocaleId Modifier and Type Field Description protected LocaleIdBaseTerminologyConnector. srcLocprotected LocaleIdBaseTerminologyConnector. trgLocMethods in net.sf.okapi.steps.terminologyleveraging that return LocaleId Modifier and Type Method Description LocaleIdBaseTerminologyConnector. getSourceLanguage()LocaleIdITerminologyQuery. getSourceLanguage()LocaleIdTerminologyLeveragingStep. getSourceLocale()LocaleIdBaseTerminologyConnector. getTargetLanguage()LocaleIdITerminologyQuery. getTargetLanguage()LocaleIdTerminologyLeveragingStep. getTargetLocale()Methods in net.sf.okapi.steps.terminologyleveraging with parameters of type LocaleId Modifier and Type Method Description voidBaseTerminologyConnector. setLanguages(LocaleId sourceLocale, LocaleId targetLocale)voidITerminologyQuery. setLanguages(LocaleId sourceLocale, LocaleId targetLocale)voidTerminologyLeveragingStep. setSourceLocale(LocaleId sourceLocale)voidTerminologyLeveragingStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.textmodification
Methods in net.sf.okapi.steps.textmodification with parameters of type LocaleId Modifier and Type Method Description voidTextModificationStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.tmimport
Methods in net.sf.okapi.steps.tmimport with parameters of type LocaleId Modifier and Type Method Description voidTMImportStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.tokenization
Methods in net.sf.okapi.steps.tokenization that return LocaleId Modifier and Type Method Description LocaleIdTokenizationStep. getSourceLocale()LocaleIdTokenizationStep. getTargetLocale()Methods in net.sf.okapi.steps.tokenization with parameters of type LocaleId Modifier and Type Method Description List<Token>TokenizationStep. apostrophe(Token token, LocaleId locale)Break French and Italian words with apostrophe into three tokens WORD, PUNCTUATION, WORDvoidITokenizer. init(String text, LocaleId language)voidRbbiTokenizer. init(String text, LocaleId language)Collection<? extends Token>TokenizationStep. postProcess(Token t, LocaleId language)Various rules to make corrections toRbbiTokenizervoidTokenizationStep. setSourceLocale(LocaleId sourceLocale)voidTokenizationStep. setTargetLocale(LocaleId targetLocale)static TokensTokenizer. tokenize(String string, LocaleId language, String... tokenNames)static TokensTokenizer. tokenize(ITextUnit textUnit, LocaleId language, String... tokenNames)static TokensTokenizer. tokenize(TextContainer textContainer, LocaleId language, String... tokenNames)static TokensTokenizer. tokenize(TextFragment textFragment, LocaleId language, String... tokenNames)protected static TokensTokenizer. tokenizeString(String text, LocaleId language, String... tokenNames)Extracts tokens from the given text. -
Uses of LocaleId in net.sf.okapi.steps.translationcomparison
Methods in net.sf.okapi.steps.translationcomparison with parameters of type LocaleId Modifier and Type Method Description voidTranslationComparisonStep. setSourceLocale(LocaleId sourceLocale)voidTranslationComparisonStep. setTargetLocale(LocaleId targetLocale) -
Uses of LocaleId in net.sf.okapi.steps.ttxsplitter
Constructors in net.sf.okapi.steps.ttxsplitter with parameters of type LocaleId Constructor Description WordCounter(LocaleId locId) -
Uses of LocaleId in net.sf.okapi.steps.uriconversion
Methods in net.sf.okapi.steps.uriconversion with parameters of type LocaleId Modifier and Type Method Description voidUriConversionStep. setTargetLanguage(LocaleId targetLanguage) -
Uses of LocaleId in net.sf.okapi.steps.whitespacecorrection
Fields in net.sf.okapi.steps.whitespacecorrection declared as LocaleId Modifier and Type Field Description protected LocaleIdWhitespaceCorrectionStep. sourceLocaleprotected LocaleIdWhitespaceCorrector. sourceLocaleprotected LocaleIdWhitespaceCorrectionStep. targetLocaleprotected LocaleIdWhitespaceCorrector. targetLocaleMethods in net.sf.okapi.steps.whitespacecorrection with parameters of type LocaleId Modifier and Type Method Description voidWhitespaceCorrectionStep. setSourceLocale(LocaleId sourceLocale)voidWhitespaceCorrectionStep. setTargetLocale(LocaleId targetLocale)Constructors in net.sf.okapi.steps.whitespacecorrection with parameters of type LocaleId Constructor Description WhitespaceCorrector(LocaleId sourceLocale, LocaleId targetLocale, Set<WhitespaceCorrector.Punctuation> punctuation, Set<WhitespaceCorrector.Whitespace> whitespace) -
Uses of LocaleId in net.sf.okapi.steps.wordcount
Methods in net.sf.okapi.steps.wordcount with parameters of type LocaleId Modifier and Type Method Description static longCharacterCounter. count(Object text, LocaleId language)static longWordCounter. count(String string, LocaleId language)Counts words in a given string.static longWordCounter. count(ITextUnit textUnit, LocaleId language)Counts words in the source part of a given text unit.static longWordCounter. count(Segment segment, LocaleId language)Counts words in a given segment.static longWordCounter. count(TextContainer textContainer, LocaleId language)Counts words in a given text container.static longWordCounter. count(TextFragment textFragment, LocaleId language)Counts words in a given text fragment.protected longWordCountStep. count(Segment segment, LocaleId locale)protected longWordCountStep. count(TextContainer textContainer, LocaleId locale)static longWordCounter. 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 longWordCounter. 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 longCharacterCounter. doCountImpl(String text, LocaleId language)protected longWordCounter. doCountImpl(String text, LocaleId language)CharacterCounter.CountsCharacterCounter. doFullCount(Object text, LocaleId language)protected CharacterCounter.CountsCharacterCounter. doFullCountImpl(String text, LocaleId language)static CharacterCounter.CountsCharacterCounter. fullCount(Object text, LocaleId language)voidSimpleWordCountStep. setSourceLocale(LocaleId sourceLocale) -
Uses of LocaleId in net.sf.okapi.steps.wordcount.categorized.gmx
Methods in net.sf.okapi.steps.wordcount.categorized.gmx with parameters of type LocaleId Modifier and Type Method Description protected longGMXProtectedWordCountStep. count(Segment segment, LocaleId locale)protected longGMXProtectedWordCountStep. count(TextContainer textContainer, LocaleId locale) -
Uses of LocaleId in net.sf.okapi.steps.wordcount.common
Methods in net.sf.okapi.steps.wordcount.common with parameters of type LocaleId Modifier and Type Method Description protected longAltAnnotationBasedCountStep. count(Segment segment, LocaleId locale)protected longAltAnnotationBasedCountStep. count(TextContainer textContainer, LocaleId locale)protected abstract longBaseCountStep. count(Segment segment, LocaleId locale)protected abstract longBaseCountStep. count(TextContainer textContainer, LocaleId locale)protected longTokenCharacterCountStep. count(Segment segment, LocaleId locale)protected longTokenCharacterCountStep. count(TextContainer textContainer, LocaleId locale)protected longTokenCountStep. count(Segment segment, LocaleId locale)protected longTokenCountStep. count(TextContainer textContainer, LocaleId locale)static longTokenCharacterCountStep. countTokenChars(Tokens tokens, LocaleId locale)Return the total character count (calculated perGMX.TotalCharacterCount) of all supplied tokens.longBaseCounter. doCount(Object text, LocaleId language)protected abstract longBaseCounter. doCountImpl(String text, LocaleId language)static doubleGMX. 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 TokensTokenCountStep. getTokens(Segment segment, LocaleId locale)protected TokensTokenCountStep. getTokens(TextContainer textContainer, LocaleId locale)static booleanGMX. isLogographicScript(LocaleId locId)Indicates whether or not the language is considered a "logographic" language per the GMX-V 2.0 spec. -
Uses of LocaleId in net.sf.okapi.tm.pensieve.common
Methods in net.sf.okapi.tm.pensieve.common that return LocaleId Modifier and Type Method Description LocaleIdTranslationUnitVariant. getLanguage()Methods in net.sf.okapi.tm.pensieve.common with parameters of type LocaleId Modifier and Type Method Description static TranslationUnitPensieveUtil. convertToTranslationUnit(LocaleId sourceLoc, LocaleId targetLoc, ITextUnit textUnit)Converts an un-segmented TextUnit into a TranslationUnit.voidTranslationUnitVariant. setLocale(LocaleId locale)Constructors in net.sf.okapi.tm.pensieve.common with parameters of type LocaleId Constructor Description TranslationUnitVariant(LocaleId language, TextFragment content)Creates a TUV with the given language and content -
Uses of LocaleId in net.sf.okapi.tm.pensieve.tmx
Methods in net.sf.okapi.tm.pensieve.tmx with parameters of type LocaleId Modifier and Type Method Description voidITmxExporter. exportTmx(LocaleId sourceLocale, LocaleId targetLocale, ITmSeeker tmSeeker, TMXWriter tmxWriter)Exports all Pensieve contents matching source and target language to TMXvoidITmxExporter. exportTmx(LocaleId sourceLocale, ITmSeeker tmSeeker, TMXWriter tmxWriter)Exports all Pensieve contents matching source languages to TMXvoidOkapiTmxExporter. exportTmx(LocaleId sourceLang, LocaleId targetLang, ITmSeeker tmSeeker, TMXWriter tmxWriter)Exports only a specific target locale Pensieve to TMXvoidOkapiTmxExporter. exportTmx(LocaleId sourceLocale, ITmSeeker tmSeeker, TMXWriter tmxWriter)Exports all target locales in Pensieve to TMXvoidITmxImporter. importTmx(URI tmxUri, LocaleId targetLocale, ITmWriter tmWriter)Imports TMX to PensievevoidOkapiTmxImporter. importTmx(URI tmxUri, LocaleId targetLang, ITmWriter tmWriter)Imports TMX to PensieveConstructors in net.sf.okapi.tm.pensieve.tmx with parameters of type LocaleId Constructor Description OkapiTmxImporter(LocaleId sourceLang, IFilter tmxFilter)Creates an instance of OkapiTMXHandler
-