Package net.sf.okapi.common.resource
Class AlignedPair
- java.lang.Object
-
- net.sf.okapi.common.resource.AlignedPair
-
-
Constructor Summary
Constructors 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 targetSegments
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocaleIdgetLocaleId()Gets theLocaleIdof the target partsList<TextPart>getSourceParts()Gets the sourceTextPartsList<TextPart>getTargetParts()Gets the targetTextParts
-
-
-
Constructor Detail
-
AlignedPair
public AlignedPair(List<TextPart> sourceParts, List<TextPart> targetParts, LocaleId localeId)
Creates an AlignedPair from source and targetTextParts- Parameters:
sourceParts- List source inter-segment and segment partstargetParts- List target inter-segment and segment partslocaleId-LocaleIdof the target parts
-
-