Search Results for

    Show / Hide Table of Contents

    Interface IChiSquaredTranslationModelStoreReadOnly

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

    Properties

    SampleCount

    Declaration
    int SampleCount { get; }
    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
    Type Description
    System.Collections.Generic.List<TranslationModelMatrixEntry>

    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
    Type Description
    System.Collections.Generic.List<TranslationModelMatrixEntry>

    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
    Type Description
    System.Collections.Generic.List<TranslationModelVocabEntry>

    TotalVocabSize(Boolean)

    Declaration
    int TotalVocabSize(bool target)
    Parameters
    Type Name Description
    System.Boolean target
    Returns
    Type Description
    System.Int32

    On this page

    • Properties
      • SampleCount
      • TranslationModelDate
    • Methods
      • LoadMatrixData(HashSet<Int32>, HashSet<Int32>, Boolean)
      • LoadMatrixData(ref Int32, Int32, Boolean)
      • LoadVocab(Boolean, IEnumerable<String>)
      • TotalVocabSize(Boolean)
    Back to top Generated by DocFX