Class AlignmentEvidence
Inheritance
AlignmentEvidence
Assembly: Sdl.Core.FineGrainedAlignment.dll
Syntax
public abstract class AlignmentEvidence
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, bool[], bool[], bool)
Declaration
public abstract bool AttemptToUse(LiftAlignedSpanPair pair, bool[] sourceTokenUseFlags, bool[] targetTokenUseFlags, bool outside)
Parameters
Type |
Name |
Description |
Sdl.Core.FineGrainedAlignment.Core.LiftAlignedSpanPair |
pair |
|
bool |
sourceTokenUseFlags |
|
bool |
targetTokenUseFlags |
|
bool |
outside |
|
Returns
Concerns(LiftAlignedSpanPair, bool)
Declaration
public abstract bool Concerns(LiftAlignedSpanPair pair, bool outside)
Parameters
Type |
Name |
Description |
Sdl.Core.FineGrainedAlignment.Core.LiftAlignedSpanPair |
pair |
|
bool |
outside |
|
Returns
ConfidenceFor(LiftAlignedSpanPair, bool)
Declaration
public abstract float ConfidenceFor(LiftAlignedSpanPair pair, bool outside)
Parameters
Type |
Name |
Description |
Sdl.Core.FineGrainedAlignment.Core.LiftAlignedSpanPair |
pair |
|
bool |
outside |
|
Returns
Covers(short, short)
Declaration
public abstract bool Covers(short sourceTokenIndex, short targetTokenIndex)
Parameters
Type |
Name |
Description |
short |
sourceTokenIndex |
|
short |
targetTokenIndex |
|
Returns
GetIsNoLongerValid(LiftAlignedSpanPair)
Declaration
public abstract bool GetIsNoLongerValid(LiftAlignedSpanPair newAlignment)
Parameters
Type |
Name |
Description |
Sdl.Core.FineGrainedAlignment.Core.LiftAlignedSpanPair |
newAlignment |
|
Returns
SourceConfidenceFor(LiftAlignedSpanPair, bool)
Declaration
public abstract float SourceConfidenceFor(LiftAlignedSpanPair pair, bool outside)
Parameters
Type |
Name |
Description |
Sdl.Core.FineGrainedAlignment.Core.LiftAlignedSpanPair |
pair |
|
bool |
outside |
|
Returns
TargetConfidenceFor(LiftAlignedSpanPair, bool)
Declaration
public abstract float TargetConfidenceFor(LiftAlignedSpanPair pair, bool outside)
Parameters
Type |
Name |
Description |
Sdl.Core.FineGrainedAlignment.Core.LiftAlignedSpanPair |
pair |
|
bool |
outside |
|
Returns