Search Results for

    Show / Hide Table of Contents

    Interface ITranslationModelDataService

    Inherited Members
    System.IDisposable.Dispose()
    Namespace: Sdl.Core.FineGrainedAlignment
    Assembly: Sdl.Core.FineGrainedAlignment.dll
    Syntax
    public interface ITranslationModelDataService : IDisposable

    Methods

    GetAllModelDetails()

    Declaration
    TranslationModelDetails[] GetAllModelDetails()
    Returns
    Type Description
    TranslationModelDetails[]

    GetModelDetails(TranslationModelId)

    Declaration
    TranslationModelDetails GetModelDetails(TranslationModelId modelId)
    Parameters
    Type Name Description
    TranslationModelId modelId
    Returns
    Type Description
    TranslationModelDetails

    LoadMatrixData(TranslationModelId, HashSet<Int32>, HashSet<Int32>, Boolean)

    Declaration
    List<TranslationModelMatrixEntry> LoadMatrixData(TranslationModelId modelId, HashSet<int> sourceKeys, HashSet<int> targetKeys, bool isReversedMatrix)
    Parameters
    Type Name Description
    TranslationModelId modelId
    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(TranslationModelId, ref Int32, Int32, Boolean)

    Declaration
    List<TranslationModelMatrixEntry> LoadMatrixData(TranslationModelId modelId, ref int startAfter, int count, bool isReversedMatrix)
    Parameters
    Type Name Description
    TranslationModelId modelId
    System.Int32 startAfter
    System.Int32 count
    System.Boolean isReversedMatrix
    Returns
    Type Description
    System.Collections.Generic.List<TranslationModelMatrixEntry>

    LoadVocab(TranslationModelId, Boolean, IEnumerable<String>)

    Declaration
    List<TranslationModelVocabEntry> LoadVocab(TranslationModelId modelId, bool target, IEnumerable<string> tokensToLoad)
    Parameters
    Type Name Description
    TranslationModelId modelId
    System.Boolean target
    System.Collections.Generic.IEnumerable<System.String> tokensToLoad
    Returns
    Type Description
    System.Collections.Generic.List<TranslationModelVocabEntry>

    On this page

    Back to top Generated by DocFX