Interface ITranslationModelManagementService
Assembly: Sdl.Core.FineGrainedAlignment.dll
Syntax
public interface ITranslationModelManagementService : ITranslationModelDataService, IDisposable
Methods
AddModelAsync(string, List<AlignableCorpusId>, CultureCode, CultureCode, TranslationModelTypes)
Declaration
Task<TranslationModelId> AddModelAsync(string name, List<AlignableCorpusId> corpora, CultureCode sourceCulture, CultureCode targetCulture, TranslationModelTypes modelType)
Parameters
Returns
BuildModelAsync(TranslationModelId)
Declaration
Task BuildModelAsync(TranslationModelId translationModelId)
Parameters
Returns
CanBuildModelAsync(TranslationModelId)
Declaration
Task<bool> CanBuildModelAsync(TranslationModelId modelId)
Parameters
Returns
ClearModelAsync(TranslationModelId)
Declaration
Task ClearModelAsync(TranslationModelId modelId)
Parameters
Returns
CreateSchemaAsync()
Declaration
Returns
DeleteModelAsync(TranslationModelId)
Declaration
Task DeleteModelAsync(TranslationModelId modelId)
Parameters
Returns
DropSchemaAsync()
Declaration
Returns
ShouldBuildModelAsync(TranslationModelId)
Declaration
Task<bool> ShouldBuildModelAsync(TranslationModelId modelId)
Parameters
Returns
UpdateModelAsync(TranslationModelId, string, List<AlignableCorpusId>)
Declaration
Task UpdateModelAsync(TranslationModelId id, string name, List<AlignableCorpusId> corpora)
Parameters
Returns