Class SpanPairNode
Stores information about an alignment between a pair of LiftSpan objects.
Implements
Inherited Members
Namespace: Sdl.Core.Bcm.BcmModel.Alignment
Assembly: Sdl.Core.Bcm.BcmModel.dll
Syntax
public class SpanPairNode : ExtensionDataContainer, ICloneable<SpanPairNode>
Constructors
SpanPairNode()
Declaration
public SpanPairNode()
Properties
Confidence
A value indicating how reliable this alignment should be considered to be. A zero value indicates that no reliability-value can be applied. Otherwise, the value should be no greater than 1, which indicates maximum reliability.
Declaration
public float Confidence { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Provenance
A value recording how the alignment was produced.
| Value | Description |
|---|---|
| 1 | NodeAlignment |
| 2 | SeedConfirmation |
| 3 | PlaceableAlignment |
| 4 | PhraseExtractor |
| 5 | Structure |
| 6 | TrainedAligner |
| 7 | Other |
Declaration
public int Provenance { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
SourceSpan
The source LiftSpan.
Declaration
public LiftSpan SourceSpan { get; set; }
Property Value
| Type | Description |
|---|---|
| LiftSpan |
TargetSpan
The target LiftSpan.
Declaration
public LiftSpan TargetSpan { get; set; }
Property Value
| Type | Description |
|---|---|
| LiftSpan |
Methods
Clone()
Clones this instance.
Declaration
public SpanPairNode Clone()
Returns
| Type | Description |
|---|---|
| SpanPairNode |