Class ChiSquaredAligner
Inheritance
System.Object
ChiSquaredAligner
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Sdl.Core.FineGrainedAlignment.dll
Syntax
public class ChiSquaredAligner : IFineGrainedAligner
Constructors
ChiSquaredAligner(ChiSquaredTranslationModel)
Declaration
public ChiSquaredAligner(ChiSquaredTranslationModel model)
Parameters
Fields
_model
Declaration
protected ChiSquaredTranslationModel _model
Field Value
Properties
BulkMode
Declaration
public bool BulkMode { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
SupportsSynchronousAlign
Declaration
public bool SupportsSynchronousAlign { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
Align(IEnumerable<IAlignableContentPair>)
Declaration
public bool Align(IEnumerable<IAlignableContentPair> pairs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Align(IEnumerable<IAlignableContentPair>, CancellationToken, IProgress<Int32>)
Declaration
public bool Align(IEnumerable<IAlignableContentPair> pairs, CancellationToken token, IProgress<int> progress)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<IAlignableContentPair> |
pairs |
|
System.Threading.CancellationToken |
token |
|
System.IProgress<System.Int32> |
progress |
|
Returns
Type |
Description |
System.Boolean |
|
AlignEx(IEnumerable<IAlignableContentPair>)
Declaration
public AlignResult[] AlignEx(IEnumerable<IAlignableContentPair> pairs)
Parameters
Returns
AlignEx(IEnumerable<IAlignableContentPair>, CancellationToken, IProgress<Int32>)
Declaration
public AlignResult[] AlignEx(IEnumerable<IAlignableContentPair> pairs, CancellationToken token, IProgress<int> progress)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<IAlignableContentPair> |
pairs |
|
System.Threading.CancellationToken |
token |
|
System.IProgress<System.Int32> |
progress |
|
Returns
AlignInternal(IEnumerable<IAlignableContentPair>, CancellationToken, IProgress<Int32>)
Declaration
protected virtual AlignResult[] AlignInternal(IEnumerable<IAlignableContentPair> pairs, CancellationToken cancellationToken, IProgress<int> progress)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<IAlignableContentPair> |
pairs |
|
System.Threading.CancellationToken |
cancellationToken |
|
System.IProgress<System.Int32> |
progress |
|
Returns
CanAlign(IEnumerable<IAlignableContentPair>)
Declaration
public bool[] CanAlign(IEnumerable<IAlignableContentPair> pairs)
Parameters
Returns
Type |
Description |
System.Boolean[] |
|
SetErrorLogger(Action<Exception, String>)
Declaration
public void SetErrorLogger(Action<Exception, string> logger)
Parameters
Type |
Name |
Description |
System.Action<System.Exception, System.String> |
logger |
|
Events
Progress
Declaration
public event EventHandler<ProgressEventArgs> Progress
Event Type
Type |
Description |
System.EventHandler<Sdl.LanguagePlatform.Stat.ProgressEventArgs> |
|
Implements