Uses of Class
net.sf.okapi.common.annotation.AltTranslation
-
Packages that use AltTranslation Package Description net.sf.okapi.common.annotation Classes to implement and manage annotations.net.sf.okapi.common.filterwriter Interfaces and classes to allow the output of a document in its original format.net.sf.okapi.common.query Helper classes for the translation resources connectors.net.sf.okapi.common.resource Interfaces and classes that represent the parsed resources attached to the events sent by a filter. -
-
Uses of AltTranslation in net.sf.okapi.common.annotation
Methods in net.sf.okapi.common.annotation that return AltTranslation 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.AltTranslationAltTranslationsAnnotation. getFirst()Gets the first entry in the list of alternate translations.AltTranslationAltTranslationsAnnotation. getLast()Gets the last entry in the list of alternate translations.Methods in net.sf.okapi.common.annotation that return types with arguments of type AltTranslation Modifier and Type Method Description Iterator<AltTranslation>AltTranslationsAnnotation. iterator()Creates a new iterator for the entries in this annotations.Methods in net.sf.okapi.common.annotation with parameters of type AltTranslation Modifier and Type Method Description voidAltTranslationsAnnotation. add(AltTranslation alt)Adds an existingAltTranslationobject to this annotation.intAltTranslation. compareTo(AltTranslation other)This method implements a three way sort on (1) AltTranslationType (2) Score (3) source string match. -
Uses of AltTranslation in net.sf.okapi.common.filterwriter
Methods in net.sf.okapi.common.filterwriter with parameters of type AltTranslation Modifier and Type Method Description voidTMXWriter. writeAlternate(AltTranslation alt, TextFragment srcOriginal)Writes the data of anAltTranslationto this TMX output. -
Uses of AltTranslation in net.sf.okapi.common.query
Methods in net.sf.okapi.common.query that return AltTranslation Modifier and Type Method Description AltTranslationQueryResult. toAltTranslation(TextFragment originalSource, LocaleId sourceLocId, LocaleId targetLocId)Convert a QueryResult to anAltTranslation -
Uses of AltTranslation in net.sf.okapi.common.resource
Methods in net.sf.okapi.common.resource with parameters of type AltTranslation Modifier and Type Method Description static AltTranslationsAnnotationTextUnitUtil. addAltTranslation(Segment seg, AltTranslation alt)Adds anAltTranslationobject to a givenSegment.static AltTranslationsAnnotationTextUnitUtil. addAltTranslation(TextContainer targetContainer, AltTranslation alt)Adds anAltTranslationobject to a givenTextContainer.
-