Search Results for

    Show / Hide Table of Contents

    Class SimpleAlignmentEvidence

    Inheritance
    object
    AlignmentEvidence
    SimpleAlignmentEvidence
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Sdl.Core.FineGrainedAlignment
    Assembly: Sdl.Core.FineGrainedAlignment.dll
    Syntax
    public class SimpleAlignmentEvidence : AlignmentEvidence

    Constructors

    SimpleAlignmentEvidence(short, short, float)

    Declaration
    public SimpleAlignmentEvidence(short sourceIndex, short targetIndex, float confidence)
    Parameters
    Type Name Description
    short sourceIndex
    short targetIndex
    float confidence

    Properties

    FirstSourceTokenIndex

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

    FirstTargetTokenIndex

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

    LastSourceTokenIndex

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

    LastTargetTokenIndex

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

    Methods

    AttemptToUse(LiftAlignedSpanPair, bool[], bool[], bool)

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

    Concerns(LiftAlignedSpanPair, bool)

    Declaration
    public override bool Concerns(LiftAlignedSpanPair pair, bool outside)
    Parameters
    Type Name Description
    LiftAlignedSpanPair pair
    bool outside
    Returns
    Type Description
    bool
    Overrides
    AlignmentEvidence.Concerns(LiftAlignedSpanPair, bool)

    ConfidenceFor(LiftAlignedSpanPair, bool)

    Declaration
    public override float ConfidenceFor(LiftAlignedSpanPair pair, bool outside)
    Parameters
    Type Name Description
    LiftAlignedSpanPair pair
    bool outside
    Returns
    Type Description
    float
    Overrides
    AlignmentEvidence.ConfidenceFor(LiftAlignedSpanPair, bool)

    Covers(short, short)

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

    GetIsNoLongerValid(LiftAlignedSpanPair)

    Declaration
    public override bool GetIsNoLongerValid(LiftAlignedSpanPair newAlignment)
    Parameters
    Type Name Description
    LiftAlignedSpanPair newAlignment
    Returns
    Type Description
    bool
    Overrides
    AlignmentEvidence.GetIsNoLongerValid(LiftAlignedSpanPair)

    SourceConfidenceFor(LiftAlignedSpanPair, bool)

    Declaration
    public override float SourceConfidenceFor(LiftAlignedSpanPair pair, bool outside)
    Parameters
    Type Name Description
    LiftAlignedSpanPair pair
    bool outside
    Returns
    Type Description
    float
    Overrides
    AlignmentEvidence.SourceConfidenceFor(LiftAlignedSpanPair, bool)

    TargetConfidenceFor(LiftAlignedSpanPair, bool)

    Declaration
    public override float TargetConfidenceFor(LiftAlignedSpanPair pair, bool outside)
    Parameters
    Type Name Description
    LiftAlignedSpanPair pair
    bool outside
    Returns
    Type Description
    float
    Overrides
    AlignmentEvidence.TargetConfidenceFor(LiftAlignedSpanPair, bool)
    In this article
    • Constructors
      • SimpleAlignmentEvidence(short, short, float)
    • Properties
      • FirstSourceTokenIndex
      • FirstTargetTokenIndex
      • LastSourceTokenIndex
      • LastTargetTokenIndex
    • Methods
      • AttemptToUse(LiftAlignedSpanPair, bool[], bool[], bool)
      • Concerns(LiftAlignedSpanPair, bool)
      • ConfidenceFor(LiftAlignedSpanPair, bool)
      • Covers(short, short)
      • GetIsNoLongerValid(LiftAlignedSpanPair)
      • SourceConfidenceFor(LiftAlignedSpanPair, bool)
      • TargetConfidenceFor(LiftAlignedSpanPair, bool)
    Back to top Generated by DocFX