public class ParagraphAligner extends Object
TextUnits and returns a list of aligned sentence-based
TextUnit objects.| Constructor and Description |
|---|
ParagraphAligner(List<AlignmentScorer<ITextUnit>> scorerList) |
| Modifier and Type | Method and Description |
|---|---|
net.sf.okapi.steps.paraaligner.AlignedParagraphs |
align(List<ITextUnit> sourceParagraphs,
List<ITextUnit> targetParagraphs,
LocaleId srcLocale,
LocaleId trgLocale,
boolean outputOneTOneMatchesOnly) |
public ParagraphAligner(List<AlignmentScorer<ITextUnit>> scorerList)
Copyright © 2021. All rights reserved.