Interface IChiSquaredTranslationModelStoreReadOnly
Assembly: Sdl.Core.FineGrainedAlignment.dll
Syntax
public interface IChiSquaredTranslationModelStoreReadOnly
Properties
SampleCount
Declaration
Property Value
Type |
Description |
System.Int32 |
|
TranslationModelDate
Declaration
DateTime? TranslationModelDate { get; }
Property Value
Type |
Description |
System.Nullable<System.DateTime> |
|
Methods
LoadMatrixData(HashSet<Int32>, HashSet<Int32>, Boolean)
Declaration
List<TranslationModelMatrixEntry> LoadMatrixData(HashSet<int> sourceKeys, HashSet<int> targetKeys, bool isReversedMatrix)
Parameters
Type |
Name |
Description |
System.Collections.Generic.HashSet<System.Int32> |
sourceKeys |
|
System.Collections.Generic.HashSet<System.Int32> |
targetKeys |
|
System.Boolean |
isReversedMatrix |
|
Returns
LoadMatrixData(ref Int32, Int32, Boolean)
Declaration
List<TranslationModelMatrixEntry> LoadMatrixData(ref int startAfter, int count, bool isReversedMatrix)
Parameters
Type |
Name |
Description |
System.Int32 |
startAfter |
|
System.Int32 |
count |
|
System.Boolean |
isReversedMatrix |
|
Returns
LoadVocab(Boolean, IEnumerable<String>)
Declaration
List<TranslationModelVocabEntry> LoadVocab(bool target, IEnumerable<string> tokensToLoad)
Parameters
Type |
Name |
Description |
System.Boolean |
target |
|
System.Collections.Generic.IEnumerable<System.String> |
tokensToLoad |
|
Returns
TotalVocabSize(Boolean)
Declaration
int TotalVocabSize(bool target)
Parameters
Type |
Name |
Description |
System.Boolean |
target |
|
Returns
Type |
Description |
System.Int32 |
|