Class BilingualPhraseComputer3
Inheritance
System.Object
BilingualPhraseComputer3
Assembly: Sdl.Core.FineGrainedAlignment.dll
Syntax
public class BilingualPhraseComputer3 : Object
Constructors
Declaration
public BilingualPhraseComputer3(CultureInfo srcCulture, CultureInfo trgCulture, BilingualPhraseComputer3.Settings settings, IBilingualPhraseCounter2 phrases, VocabularyFile3 srcVocab, VocabularyFile3 trgVocab)
Parameters
Declaration
public BilingualPhraseComputer3(CultureInfo srcCulture, CultureInfo trgCulture, IBilingualPhraseCounter2 phrases, Action<int, int, int, int> recordPhraseAction, VocabularyFile3 srcVocab, VocabularyFile3 trgVocab)
Parameters
Type |
Name |
Description |
System.Globalization.CultureInfo |
srcCulture |
|
System.Globalization.CultureInfo |
trgCulture |
|
Sdl.LanguagePlatform.Stat.WordAlignment.IBilingualPhraseCounter2 |
phrases |
|
System.Action<System.Int32, System.Int32, System.Int32, System.Int32> |
recordPhraseAction |
|
VocabularyFile3 |
srcVocab |
|
VocabularyFile3 |
trgVocab |
|
Methods
Declaration
public List<AlignedPhrase> Compute(IntSegment srcSegment, IntSegment trgSegment, AlignmentTable at)
Parameters
Type |
Name |
Description |
Sdl.LanguagePlatform.Stat.IntSegment |
srcSegment |
|
Sdl.LanguagePlatform.Stat.IntSegment |
trgSegment |
|
Sdl.LanguagePlatform.Stat.AlignmentTable |
at |
|
Returns