Interface ITranslationModelManager
Assembly: Sdl.Core.FineGrainedAlignment.dll
Syntax
public interface ITranslationModelManager
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
ClearModelAsync(TranslationModelId)
Declaration
Task ClearModelAsync(TranslationModelId id)
Parameters
Returns
DeleteModelAsync(TranslationModelId)
Declaration
Task DeleteModelAsync(TranslationModelId id)
Parameters
Returns
GetModelAsync(TranslationModelId)
Declaration
Task<TranslationModel> GetModelAsync(TranslationModelId id)
Parameters
Returns
GetModelsAsync()
Declaration
Task<List<TranslationModel>> GetModelsAsync()
Returns
UpdateModelAsync(TranslationModelId, string, List<AlignableCorpusId>)
Declaration
Task UpdateModelAsync(TranslationModelId id, string name, List<AlignableCorpusId> corpora)
Parameters
Returns