Interface ITranslationModelManagementService
Inherited Members
System.IDisposable.Dispose()
Assembly: Sdl.Core.FineGrainedAlignment.dll
Syntax
public interface ITranslationModelManagementService : ITranslationModelDataService, IDisposable
Methods
AddModel(String, List<AlignableCorpusId>, CultureInfo, CultureInfo, TranslationModelTypes)
Declaration
TranslationModelId AddModel(string name, List<AlignableCorpusId> corpora, CultureInfo sourceCulture, CultureInfo targetCulture, TranslationModelTypes modelType)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Collections.Generic.List<AlignableCorpusId> |
corpora |
|
System.Globalization.CultureInfo |
sourceCulture |
|
System.Globalization.CultureInfo |
targetCulture |
|
TranslationModelTypes |
modelType |
|
Returns
BuildModel(TranslationModelId)
Declaration
void BuildModel(TranslationModelId translationModelId)
Parameters
CanBuildModel(TranslationModelId)
Declaration
bool CanBuildModel(TranslationModelId modelId)
Parameters
Returns
Type |
Description |
System.Boolean |
|
ClearModel(TranslationModelId)
Declaration
void ClearModel(TranslationModelId modelId)
Parameters
CreateSchema()
Declaration
DeleteModel(TranslationModelId)
Declaration
void DeleteModel(TranslationModelId modelId)
Parameters
DropSchema()
Declaration
ShouldBuildModel(TranslationModelId)
Declaration
bool ShouldBuildModel(TranslationModelId modelId)
Parameters
Returns
Type |
Description |
System.Boolean |
|
UpdateModel(TranslationModelId, String, List<AlignableCorpusId>)
Declaration
void UpdateModel(TranslationModelId id, string name, List<AlignableCorpusId> corpora)
Parameters