Class ChiSquaredAligner
Inheritance
ChiSquaredAligner
Assembly: Sdl.Core.FineGrainedAlignment.dll
Syntax
public class ChiSquaredAligner : IFineGrainedAligner
Constructors
ChiSquaredAligner(ChiSquaredTranslationModel, AlignerSettings)
Declaration
[Obsolete("Use version providing ICultureMetadataManager")]
public ChiSquaredAligner(ChiSquaredTranslationModel model, AlignerSettings alignerSettings)
Parameters
Declaration
public ChiSquaredAligner(ChiSquaredTranslationModel model, ICultureMetadataManager cultureMetadataManager, AlignerSettings alignerSettings)
Parameters
Fields
Declaration
protected readonly ICultureMetadataManager _cultureMetadataManager
Field Value
_model
Declaration
protected ChiSquaredTranslationModel _model
Field Value
Properties
SupportsSynchronousAlign
Declaration
public bool SupportsSynchronousAlign { get; }
Property Value
Methods
AlignAsync(IEnumerable<IAlignableContentPair>)
Declaration
public Task<bool> AlignAsync(IEnumerable<IAlignableContentPair> pairs)
Parameters
Returns
AlignAsync(IEnumerable<IAlignableContentPair>, CancellationToken, IProgress<int>)
Declaration
public Task<bool> AlignAsync(IEnumerable<IAlignableContentPair> pairs, CancellationToken token, IProgress<int> progress)
Parameters
Returns
AlignExAsync(IEnumerable<IAlignableContentPair>)
Declaration
public Task<AlignResult[]> AlignExAsync(IEnumerable<IAlignableContentPair> pairs)
Parameters
Returns
AlignExAsync(IEnumerable<IAlignableContentPair>, CancellationToken, IProgress<int>)
Declaration
public Task<AlignResult[]> AlignExAsync(IEnumerable<IAlignableContentPair> pairs, CancellationToken token, IProgress<int> progress)
Parameters
Returns
AlignInternalAsync(IEnumerable<IAlignableContentPair>, CancellationToken, IProgress<int>)
Declaration
protected virtual Task<AlignResult[]> AlignInternalAsync(IEnumerable<IAlignableContentPair> pairs, CancellationToken cancellationToken, IProgress<int> progress)
Parameters
Returns
CanAlign(IEnumerable<IAlignableContentPair>)
Declaration
public bool[] CanAlign(IEnumerable<IAlignableContentPair> pairs)
Parameters
Returns
GetBulkMode()
Declaration
public bool GetBulkMode()
Returns
SetBulkModeAsync(bool)
Declaration
public Task SetBulkModeAsync(bool bulkMode)
Parameters
Type |
Name |
Description |
bool |
bulkMode |
|
Returns
SetErrorLogger(Action<Exception, string>)
Declaration
public void SetErrorLogger(Action<Exception, string> logger)
Parameters
Implements