Search Results for

    Show / Hide Table of Contents

    Class TrainedModelAligner.CodedTokenIndexConverter

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

    Constructors

    CodedTokenIndexConverter(List<Int16>)

    Declaration
    public CodedTokenIndexConverter(List<short> tokenInfo)
    Parameters
    Type Name Description
    System.Collections.Generic.List<System.Int16> tokenInfo

    Properties

    Count

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    CodedTokenIndexToRawIndex(Int32)

    Declaration
    public int CodedTokenIndexToRawIndex(int ix)
    Parameters
    Type Name Description
    System.Int32 ix
    Returns
    Type Description
    System.Int32

    CodedTokenIndexToTUSpan(Int32)

    Declaration
    public LiftSpan CodedTokenIndexToTUSpan(int ix)
    Parameters
    Type Name Description
    System.Int32 ix
    Returns
    Type Description
    Sdl.Core.FineGrainedAlignment.Core.LiftSpan

    TUSpanToCodedTokenSpan(LiftSpan)

    Declaration
    public LiftSpan TUSpanToCodedTokenSpan(LiftSpan tuSpan)
    Parameters
    Type Name Description
    Sdl.Core.FineGrainedAlignment.Core.LiftSpan tuSpan
    Returns
    Type Description
    Sdl.Core.FineGrainedAlignment.Core.LiftSpan

    On this page

    • Constructors
      • CodedTokenIndexConverter(List<Int16>)
    • Properties
      • Count
    • Methods
      • CodedTokenIndexToRawIndex(Int32)
      • CodedTokenIndexToTUSpan(Int32)
      • TUSpanToCodedTokenSpan(LiftSpan)
    Back to top Generated by DocFX