Interface ITranslationModelManagementService
Assembly: Sdl.Core.FineGrainedAlignment.dll
Syntax
public interface ITranslationModelManagementService : ITranslationModelDataService
Methods
AddModelAsync(String, List<AlignableCorpusId>, CultureCode, CultureCode, TranslationModelTypes)
Declaration
Task<TranslationModelId> AddModelAsync(string name, List<AlignableCorpusId> corpora, CultureCode sourceCulture, CultureCode targetCulture, TranslationModelTypes modelType)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Collections.Generic.List<AlignableCorpusId> |
corpora |
|
Sdl.Core.Globalization.CultureCode |
sourceCulture |
|
Sdl.Core.Globalization.CultureCode |
targetCulture |
|
TranslationModelTypes |
modelType |
|
Returns
BuildModelAsync(TranslationModelId)
Declaration
Task BuildModelAsync(TranslationModelId translationModelId)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
CanBuildModelAsync(TranslationModelId)
Declaration
Task<bool> CanBuildModelAsync(TranslationModelId modelId)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
ClearModelAsync(TranslationModelId)
Declaration
Task ClearModelAsync(TranslationModelId modelId)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
CreateSchemaAsync()
Declaration
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
DeleteModelAsync(TranslationModelId)
Declaration
Task DeleteModelAsync(TranslationModelId modelId)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
DropSchemaAsync()
Declaration
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
ShouldBuildModelAsync(TranslationModelId)
Declaration
Task<bool> ShouldBuildModelAsync(TranslationModelId modelId)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
UpdateModelAsync(TranslationModelId, String, List<AlignableCorpusId>)
Declaration
Task UpdateModelAsync(TranslationModelId id, string name, List<AlignableCorpusId> corpora)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|