Class AlignmentEvidence
Inheritance
Object
AlignmentEvidence
Assembly: Sdl.Core.FineGrainedAlignment.dll
Syntax
public abstract class AlignmentEvidence : Object
Constructors
AlignmentEvidence()
Declaration
protected AlignmentEvidence()
Properties
FirstSourceTokenIndex
Declaration
public abstract short FirstSourceTokenIndex { get; }
Property Value
FirstTargetTokenIndex
Declaration
public abstract short FirstTargetTokenIndex { get; }
Property Value
LastSourceTokenIndex
Declaration
public abstract short LastSourceTokenIndex { get; }
Property Value
LastTargetTokenIndex
Declaration
public abstract short LastTargetTokenIndex { get; }
Property Value
Methods
AttemptToUse(LiftAlignedSpanPair, Boolean[], Boolean[], Boolean)
Declaration
public abstract bool AttemptToUse(LiftAlignedSpanPair pair, bool[] sourceTokenUseFlags, bool[] targetTokenUseFlags, bool outside)
Parameters
Type |
Name |
Description |
LiftAlignedSpanPair |
pair |
|
Boolean[] |
sourceTokenUseFlags |
|
Boolean[] |
targetTokenUseFlags |
|
Boolean |
outside |
|
Returns
Concerns(LiftAlignedSpanPair, Boolean)
Declaration
public abstract bool Concerns(LiftAlignedSpanPair pair, bool outside)
Parameters
Type |
Name |
Description |
LiftAlignedSpanPair |
pair |
|
Boolean |
outside |
|
Returns
ConfidenceFor(LiftAlignedSpanPair, Boolean)
Declaration
public abstract float ConfidenceFor(LiftAlignedSpanPair pair, bool outside)
Parameters
Type |
Name |
Description |
LiftAlignedSpanPair |
pair |
|
Boolean |
outside |
|
Returns
Covers(Int16, Int16)
Declaration
public abstract bool Covers(short sourceTokenIndex, short targetTokenIndex)
Parameters
Type |
Name |
Description |
Int16 |
sourceTokenIndex |
|
Int16 |
targetTokenIndex |
|
Returns
GetIsNoLongerValid(LiftAlignedSpanPair)
Declaration
public abstract bool GetIsNoLongerValid(LiftAlignedSpanPair newAlignment)
Parameters
Type |
Name |
Description |
LiftAlignedSpanPair |
newAlignment |
|
Returns
SourceConfidenceFor(LiftAlignedSpanPair, Boolean)
Declaration
public abstract float SourceConfidenceFor(LiftAlignedSpanPair pair, bool outside)
Parameters
Type |
Name |
Description |
LiftAlignedSpanPair |
pair |
|
Boolean |
outside |
|
Returns
TargetConfidenceFor(LiftAlignedSpanPair, Boolean)
Declaration
public abstract float TargetConfidenceFor(LiftAlignedSpanPair pair, bool outside)
Parameters
Type |
Name |
Description |
LiftAlignedSpanPair |
pair |
|
Boolean |
outside |
|
Returns