Class BilingualPhraseComputer3
Inheritance
System.Object
BilingualPhraseComputer3
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Sdl.Core.FineGrainedAlignment
Assembly: Sdl.Core.FineGrainedAlignment.dll
Syntax
public class BilingualPhraseComputer3
Constructors
BilingualPhraseComputer3(CultureInfo, CultureInfo, BilingualPhraseComputer3.Settings, IBilingualPhraseCounter2, VocabularyFile3, VocabularyFile3)
Declaration
public BilingualPhraseComputer3(CultureInfo srcCulture, CultureInfo trgCulture, BilingualPhraseComputer3.Settings settings, IBilingualPhraseCounter2 phrases, VocabularyFile3 srcVocab, VocabularyFile3 trgVocab)
Parameters
Type | Name | Description |
---|---|---|
System.Globalization.CultureInfo | srcCulture | |
System.Globalization.CultureInfo | trgCulture | |
BilingualPhraseComputer3.Settings | settings | |
Sdl.LanguagePlatform.Stat.WordAlignment.IBilingualPhraseCounter2 | phrases | |
VocabularyFile3 | srcVocab | |
VocabularyFile3 | trgVocab |
BilingualPhraseComputer3(CultureInfo, CultureInfo, IBilingualPhraseCounter2, Action<Int32, Int32, Int32, Int32>, VocabularyFile3, VocabularyFile3)
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
Compute(IntSegment, IntSegment, AlignmentTable)
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
Type | Description |
---|---|
System.Collections.Generic.List<AlignedPhrase> |