Class AlignmentEvidence
Inheritance
System.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
Type |
Description |
System.Int16 |
|
FirstTargetTokenIndex
Declaration
public abstract short FirstTargetTokenIndex { get; }
Property Value
Type |
Description |
System.Int16 |
|
LastSourceTokenIndex
Declaration
public abstract short LastSourceTokenIndex { get; }
Property Value
Type |
Description |
System.Int16 |
|
LastTargetTokenIndex
Declaration
public abstract short LastTargetTokenIndex { get; }
Property Value
Type |
Description |
System.Int16 |
|
Methods
AttemptToUse(LiftAlignedSpanPair, Boolean[], Boolean[], Boolean)
Declaration
public abstract 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 |
|
Concerns(LiftAlignedSpanPair, Boolean)
Declaration
public abstract bool Concerns(LiftAlignedSpanPair pair, bool outside)
Parameters
Type |
Name |
Description |
Sdl.Core.FineGrainedAlignment.Core.LiftAlignedSpanPair |
pair |
|
System.Boolean |
outside |
|
Returns
Type |
Description |
System.Boolean |
|
ConfidenceFor(LiftAlignedSpanPair, Boolean)
Declaration
public abstract float ConfidenceFor(LiftAlignedSpanPair pair, bool outside)
Parameters
Type |
Name |
Description |
Sdl.Core.FineGrainedAlignment.Core.LiftAlignedSpanPair |
pair |
|
System.Boolean |
outside |
|
Returns
Type |
Description |
System.Single |
|
Covers(Int16, Int16)
Declaration
public abstract bool Covers(short sourceTokenIndex, short targetTokenIndex)
Parameters
Type |
Name |
Description |
System.Int16 |
sourceTokenIndex |
|
System.Int16 |
targetTokenIndex |
|
Returns
Type |
Description |
System.Boolean |
|
GetIsNoLongerValid(LiftAlignedSpanPair)
Declaration
public abstract bool GetIsNoLongerValid(LiftAlignedSpanPair newAlignment)
Parameters
Type |
Name |
Description |
Sdl.Core.FineGrainedAlignment.Core.LiftAlignedSpanPair |
newAlignment |
|
Returns
Type |
Description |
System.Boolean |
|
SourceConfidenceFor(LiftAlignedSpanPair, Boolean)
Declaration
public abstract float SourceConfidenceFor(LiftAlignedSpanPair pair, bool outside)
Parameters
Type |
Name |
Description |
Sdl.Core.FineGrainedAlignment.Core.LiftAlignedSpanPair |
pair |
|
System.Boolean |
outside |
|
Returns
Type |
Description |
System.Single |
|
TargetConfidenceFor(LiftAlignedSpanPair, Boolean)
Declaration
public abstract float TargetConfidenceFor(LiftAlignedSpanPair pair, bool outside)
Parameters
Type |
Name |
Description |
Sdl.Core.FineGrainedAlignment.Core.LiftAlignedSpanPair |
pair |
|
System.Boolean |
outside |
|
Returns
Type |
Description |
System.Single |
|