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<Int32>

    GetTranslationModelDateAsync()

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

    LoadMatrixData2Async(IReadOnlyCollection<TranslationModelTuMatrixRequest>)

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

    LoadMatrixDataAsync(HashSet<Int32>, HashSet<Int32>)

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

    LoadMatrixDataAsync(Int32, Int32)

    Declaration
    Task<(List<TranslationModelMatrixEntry> Entries, int LastId)> LoadMatrixDataAsync(int startAfter, int count)
    Parameters
    Type Name Description
    Int32 startAfter
    Int32 count
    Returns
    Type Description
    Task<(T1, T2)<List<TranslationModelMatrixEntry>, Int32>>

    LoadVocabAsync(Boolean, IEnumerable<String>)

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

    TotalVocabSizeAsync(Boolean)

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