Interface IChiSquaredTranslationModelStoreReadOnly
Assembly: Sdl.Core.FineGrainedAlignment.dll
Syntax
public interface IChiSquaredTranslationModelStoreReadOnly
Methods
GetSampleCountAsync()
Declaration
Task<int> GetSampleCountAsync()
Returns
GetTranslationModelDateAsync()
Declaration
Task<DateTime?> GetTranslationModelDateAsync()
Returns
LoadMatrixData2Async(IReadOnlyCollection<TranslationModelTuMatrixRequest>, bool)
Declaration
Task<List<TranslationModelMatrixEntry>> LoadMatrixData2Async(IReadOnlyCollection<TranslationModelTuMatrixRequest> matrixRequestCollection, bool isReversedMatrix)
Parameters
Returns
LoadMatrixDataAsync(HashSet<int>, HashSet<int>, bool)
Declaration
Task<List<TranslationModelMatrixEntry>> LoadMatrixDataAsync(HashSet<int> sourceKeys, HashSet<int> targetKeys, bool isReversedMatrix)
Parameters
Returns
LoadMatrixDataAsync(int, int, bool)
Declaration
Task<(List<TranslationModelMatrixEntry> Entries, int LastId)> LoadMatrixDataAsync(int startAfter, int count, bool isReversedMatrix)
Parameters
Type |
Name |
Description |
int |
startAfter |
|
int |
count |
|
bool |
isReversedMatrix |
|
Returns
Type |
Description |
TaskListTranslationModelMatrixEntrySystem.ValueTuple{System.Collections.Generic.List{Sdl.Core.FineGrainedAlignment.Model.TranslationModelMatrixEntry},System.Int32}.EntriesintSystem.ValueTuple{System.Collections.Generic.List{Sdl.Core.FineGrainedAlignment.Model.TranslationModelMatrixEntry},System.Int32}.LastId |
|
LoadVocabAsync(bool, IEnumerable<string>)
Declaration
Task<List<TranslationModelVocabEntry>> LoadVocabAsync(bool target, IEnumerable<string> tokensToLoad)
Parameters
Returns
TotalVocabSizeAsync(bool)
Declaration
Task<int> TotalVocabSizeAsync(bool target)
Parameters
Type |
Name |
Description |
bool |
target |
|
Returns