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
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
ClearModelAsync(TranslationModelId)
Declaration
Task ClearModelAsync(TranslationModelId id)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
DeleteModelAsync(TranslationModelId)
Declaration
Task DeleteModelAsync(TranslationModelId id)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
GetModelAsync(TranslationModelId)
Declaration
Task<TranslationModel> GetModelAsync(TranslationModelId id)
Parameters
Returns
GetModelsAsync()
Declaration
Task<List<TranslationModel>> GetModelsAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.Generic.List<TranslationModel>> |
|
UpdateModelAsync(TranslationModelId, String, List<AlignableCorpusId>)
Declaration
Task UpdateModelAsync(TranslationModelId id, string name, List<AlignableCorpusId> corpora)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|