Class ChiSquaredTranslationModelBuilder
Inheritance
System.Object
ChiSquaredTranslationModelBuilder
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()
Namespace: Sdl.Core.FineGrainedAlignment
Assembly: Sdl.Core.FineGrainedAlignment.dll
Syntax
public class ChiSquaredTranslationModelBuilder
Constructors
ChiSquaredTranslationModelBuilder(ChiSquaredTranslationModel, IAlignableCorpusManager)
Declaration
public ChiSquaredTranslationModelBuilder(ChiSquaredTranslationModel translationModel, IAlignableCorpusManager corpusManager)
Parameters
Type | Name | Description |
---|---|---|
ChiSquaredTranslationModel | translationModel | |
IAlignableCorpusManager | corpusManager |
Properties
Model
Declaration
public TranslationModel Model { get; }
Property Value
Type | Description |
---|---|
TranslationModel |
Methods
BuildModel(IChiSquaredTranslationModelStore)
Declaration
public SparseMatrix<double> BuildModel(IChiSquaredTranslationModelStore store)
Parameters
Type | Name | Description |
---|---|---|
IChiSquaredTranslationModelStore | store |
Returns
Type | Description |
---|---|
Sdl.LanguagePlatform.Stat.SparseMatrix<System.Double> |
CanBuildModel()
Declaration
public bool CanBuildModel()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldBuildModel()
Declaration
public bool ShouldBuildModel()
Returns
Type | Description |
---|---|
System.Boolean |
Events
Progress
Declaration
public event EventHandler<TranslationModelProgressEventArgs> Progress
Event Type
Type | Description |
---|---|
System.EventHandler<TranslationModelProgressEventArgs> |