Class WordAlignmentComputer3
Adaptation of AutoSuggest Creator aligner.
Inheritance
System.Object
WordAlignmentComputer3
Namespace: Sdl.Core.FineGrainedAlignment
Assembly: Sdl.Core.FineGrainedAlignment.dll
Syntax
public class WordAlignmentComputer3 : Object
Remarks
The original aligner seems mostly to have been inspired by "Competitive grouping in integrated phrase segmentation and alignment model" (Zhang and Vogel, 2005). The ExtendPhrases function is described as implementing an alternative to the CGA algortihm.
Constructors
WordAlignmentComputer3(IScoreProvider2, VocabularyFile3, VocabularyFile3)
Declaration
public WordAlignmentComputer3(IScoreProvider2 scoreProvider, VocabularyFile3 vocabSrc, VocabularyFile3 vocabTrg)
Parameters
Type | Name | Description |
---|---|---|
Sdl.LanguagePlatform.Stat.WordAlignment.IScoreProvider2 | scoreProvider | |
VocabularyFile3 | vocabSrc | |
VocabularyFile3 | vocabTrg |
Fields
MAX_SEGMENT_LENGTH
Declaration
public static readonly int MAX_SEGMENT_LENGTH
Field Value
Type | Description |
---|---|
System.Int32 |