Search Results for

    Show / Hide Table of Contents

    Class ChiSquaredTranslationModelStoreReadOnly

    Inheritance
    Object
    ChiSquaredTranslationModelStoreReadOnly
    Implements
    IChiSquaredTranslationModelStoreReadOnly
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Sdl.Core.FineGrainedAlignment
    Assembly: Sdl.Core.FineGrainedAlignment.dll
    Syntax
    public class ChiSquaredTranslationModelStoreReadOnly : IChiSquaredTranslationModelStoreReadOnly

    Constructors

    ChiSquaredTranslationModelStoreReadOnly(ITranslationModelDataService, TranslationModelDetails, TranslationModelId)

    Declaration
    public ChiSquaredTranslationModelStoreReadOnly(ITranslationModelDataService service, TranslationModelDetails modelDetails, TranslationModelId modelId)
    Parameters
    Type Name Description
    ITranslationModelDataService service
    TranslationModelDetails modelDetails
    TranslationModelId modelId

    Methods

    GetSampleCountAsync()

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

    GetTranslationModelDateAsync()

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

    LoadMatrixData2Async(IReadOnlyCollection<TranslationModelTuMatrixRequest>)

    Declaration
    public 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
    public 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
    public 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
    public 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
    public Task<int> TotalVocabSizeAsync(bool target)
    Parameters
    Type Name Description
    Boolean target
    Returns
    Type Description
    Task<Int32>

    Implements

    IChiSquaredTranslationModelStoreReadOnly
    In this article
    • Constructors
      • ChiSquaredTranslationModelStoreReadOnly(ITranslationModelDataService, TranslationModelDetails, TranslationModelId)
    • Methods
      • GetSampleCountAsync()
      • GetTranslationModelDateAsync()
      • LoadMatrixData2Async(IReadOnlyCollection<TranslationModelTuMatrixRequest>)
      • LoadMatrixDataAsync(HashSet<Int32>, HashSet<Int32>)
      • LoadMatrixDataAsync(Int32, Int32)
      • LoadVocabAsync(Boolean, IEnumerable<String>)
      • TotalVocabSizeAsync(Boolean)
    • Implements
    Back to top Generated by DocFX