Search Results for

    Show / Hide Table of Contents

    Class SimpleAlignmentEvidence

    Inheritance
    System.Object
    AlignmentEvidence
    SimpleAlignmentEvidence
    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 SimpleAlignmentEvidence : AlignmentEvidence

    Constructors

    SimpleAlignmentEvidence(Int16, Int16, Single)

    Declaration
    public SimpleAlignmentEvidence(short sourceIndex, short targetIndex, float confidence)
    Parameters
    Type Name Description
    System.Int16 sourceIndex
    System.Int16 targetIndex
    System.Single confidence

    Properties

    FirstSourceTokenIndex

    Declaration
    public override short FirstSourceTokenIndex { get; }
    Property Value
    Type Description
    System.Int16
    Overrides
    AlignmentEvidence.FirstSourceTokenIndex

    FirstTargetTokenIndex

    Declaration
    public override short FirstTargetTokenIndex { get; }
    Property Value
    Type Description
    System.Int16
    Overrides
    AlignmentEvidence.FirstTargetTokenIndex

    LastSourceTokenIndex

    Declaration
    public override short LastSourceTokenIndex { get; }
    Property Value
    Type Description
    System.Int16
    Overrides
    AlignmentEvidence.LastSourceTokenIndex

    LastTargetTokenIndex

    Declaration
    public override short LastTargetTokenIndex { get; }
    Property Value
    Type Description
    System.Int16
    Overrides
    AlignmentEvidence.LastTargetTokenIndex

    Methods

    AttemptToUse(LiftAlignedSpanPair, Boolean[], Boolean[], Boolean)

    Declaration
    public override bool AttemptToUse(LiftAlignedSpanPair pair, bool[] sourceTokenUseFlags, bool[] targetTokenUseFlags, bool outside)
    Parameters
    Type Name Description
    Sdl.Core.FineGrainedAlignment.Core.LiftAlignedSpanPair pair
    System.Boolean[] sourceTokenUseFlags
    System.Boolean[] targetTokenUseFlags
    System.Boolean outside
    Returns
    Type Description
    System.Boolean
    Overrides
    AlignmentEvidence.AttemptToUse(LiftAlignedSpanPair, Boolean[], Boolean[], Boolean)

    Concerns(LiftAlignedSpanPair, Boolean)

    Declaration
    public override bool Concerns(LiftAlignedSpanPair pair, bool outside)
    Parameters
    Type Name Description
    Sdl.Core.FineGrainedAlignment.Core.LiftAlignedSpanPair pair
    System.Boolean outside
    Returns
    Type Description
    System.Boolean
    Overrides
    AlignmentEvidence.Concerns(LiftAlignedSpanPair, Boolean)

    ConfidenceFor(LiftAlignedSpanPair, Boolean)

    Declaration
    public override float ConfidenceFor(LiftAlignedSpanPair pair, bool outside)
    Parameters
    Type Name Description
    Sdl.Core.FineGrainedAlignment.Core.LiftAlignedSpanPair pair
    System.Boolean outside
    Returns
    Type Description
    System.Single
    Overrides
    AlignmentEvidence.ConfidenceFor(LiftAlignedSpanPair, Boolean)

    Covers(Int16, Int16)

    Declaration
    public override bool Covers(short sourceTokenIndex, short targetTokenIndex)
    Parameters
    Type Name Description
    System.Int16 sourceTokenIndex
    System.Int16 targetTokenIndex
    Returns
    Type Description
    System.Boolean
    Overrides
    AlignmentEvidence.Covers(Int16, Int16)

    GetIsNoLongerValid(LiftAlignedSpanPair)

    Declaration
    public override bool GetIsNoLongerValid(LiftAlignedSpanPair newAlignment)
    Parameters
    Type Name Description
    Sdl.Core.FineGrainedAlignment.Core.LiftAlignedSpanPair newAlignment
    Returns
    Type Description
    System.Boolean
    Overrides
    AlignmentEvidence.GetIsNoLongerValid(LiftAlignedSpanPair)

    SourceConfidenceFor(LiftAlignedSpanPair, Boolean)

    Declaration
    public override float SourceConfidenceFor(LiftAlignedSpanPair pair, bool outside)
    Parameters
    Type Name Description
    Sdl.Core.FineGrainedAlignment.Core.LiftAlignedSpanPair pair
    System.Boolean outside
    Returns
    Type Description
    System.Single
    Overrides
    AlignmentEvidence.SourceConfidenceFor(LiftAlignedSpanPair, Boolean)

    TargetConfidenceFor(LiftAlignedSpanPair, Boolean)

    Declaration
    public override float TargetConfidenceFor(LiftAlignedSpanPair pair, bool outside)
    Parameters
    Type Name Description
    Sdl.Core.FineGrainedAlignment.Core.LiftAlignedSpanPair pair
    System.Boolean outside
    Returns
    Type Description
    System.Single
    Overrides
    AlignmentEvidence.TargetConfidenceFor(LiftAlignedSpanPair, Boolean)

    On this page

    • Constructors
      • SimpleAlignmentEvidence(Int16, Int16, Single)
    • Properties
      • FirstSourceTokenIndex
      • FirstTargetTokenIndex
      • LastSourceTokenIndex
      • LastTargetTokenIndex
    • Methods
      • AttemptToUse(LiftAlignedSpanPair, Boolean[], Boolean[], Boolean)
      • Concerns(LiftAlignedSpanPair, Boolean)
      • ConfidenceFor(LiftAlignedSpanPair, Boolean)
      • Covers(Int16, Int16)
      • GetIsNoLongerValid(LiftAlignedSpanPair)
      • SourceConfidenceFor(LiftAlignedSpanPair, Boolean)
      • TargetConfidenceFor(LiftAlignedSpanPair, Boolean)
    Back to top Generated by DocFX