Search Results for

    Show / Hide Table of Contents

    Interface IChiSquaredTranslationModelStoreReadOnly

    Namespace: Sdl.Core.FineGrainedAlignment
    Assembly: Sdl.Core.FineGrainedAlignment.dll
    Syntax
    public interface IChiSquaredTranslationModelStoreReadOnly

    Methods

    GetSampleCountAsync()

    Declaration
    Task<int> GetSampleCountAsync()
    Returns
    Type Description
    Task<int>

    GetTranslationModelDateAsync()

    Declaration
    Task<DateTime?> GetTranslationModelDateAsync()
    Returns
    Type Description
    Task<DateTime?>

    LoadMatrixData2Async(IReadOnlyCollection<TranslationModelTuMatrixRequest>, bool)

    Declaration
    Task<List<TranslationModelMatrixEntry>> LoadMatrixData2Async(IReadOnlyCollection<TranslationModelTuMatrixRequest> matrixRequestCollection, bool isReversedMatrix)
    Parameters
    Type Name Description
    IReadOnlyCollection<TranslationModelTuMatrixRequest> matrixRequestCollection
    bool isReversedMatrix
    Returns
    Type Description
    Task<List<TranslationModelMatrixEntry>>

    LoadMatrixDataAsync(HashSet<int>, HashSet<int>, bool)

    Declaration
    Task<List<TranslationModelMatrixEntry>> LoadMatrixDataAsync(HashSet<int> sourceKeys, HashSet<int> targetKeys, bool isReversedMatrix)
    Parameters
    Type Name Description
    HashSet<int> sourceKeys
    HashSet<int> targetKeys
    bool isReversedMatrix
    Returns
    Type Description
    Task<List<TranslationModelMatrixEntry>>

    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
    Task<(List<TranslationModelMatrixEntry> Entries, int LastId)>

    LoadVocabAsync(bool, IEnumerable<string>)

    Declaration
    Task<List<TranslationModelVocabEntry>> LoadVocabAsync(bool target, IEnumerable<string> tokensToLoad)
    Parameters
    Type Name Description
    bool target
    IEnumerable<string> tokensToLoad
    Returns
    Type Description
    Task<List<TranslationModelVocabEntry>>

    TotalVocabSizeAsync(bool)

    Declaration
    Task<int> TotalVocabSizeAsync(bool target)
    Parameters
    Type Name Description
    bool target
    Returns
    Type Description
    Task<int>
    In this article
    • Methods
      • GetSampleCountAsync()
      • GetTranslationModelDateAsync()
      • LoadMatrixData2Async(IReadOnlyCollection<TranslationModelTuMatrixRequest>, bool)
      • LoadMatrixDataAsync(HashSet<int>, HashSet<int>, bool)
      • LoadMatrixDataAsync(int, int, bool)
      • LoadVocabAsync(bool, IEnumerable<string>)
      • TotalVocabSizeAsync(bool)
    Back to top Generated by DocFX