Interface IFileBasedTranslationMemory
Represents an file based Translation Memory
Inherited Members
Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public interface IFileBasedTranslationMemory : IAlignableTranslationMemory, ITranslationMemory2015, ITranslationMemory, ITranslationProvider, IReindexableTranslationMemory, ILocalTranslationMemory, IAdvancedContextTranslationMemory
Properties
CanBuildModel
Returns true if the TM has enough data for the translation model associated with it to be built
Declaration
bool CanBuildModel { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
FGASupport
Returns the status of fine-grained-alignment support for the TM
Declaration
FGASupport FGASupport { get; set; }
Property Value
Type | Description |
---|---|
FGASupport |
ModelDetails
Provides details of the translation model associated with this file-based TM
Declaration
TranslationModelDetails ModelDetails { get; }
Property Value
Type | Description |
---|---|
TranslationModelDetails |
ShouldBuildModel
Indicates whether a build (or rebuild) of the translation model is recommended
Declaration
bool ShouldBuildModel { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
BuildModel()
Builds the translation model associated with this file-based TM
Declaration
void BuildModel()
ClearModel()
Clears the translation model
Declaration
void ClearModel()
Save(IProgress<TranslationMemoryProgress>, CancellationToken)
Performs a save operation
Declaration
void Save(IProgress<TranslationMemoryProgress> progress, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.IProgress<TranslationMemoryProgress> | progress | |
System.Threading.CancellationToken | cancellationToken |
Events
TranslationModelProgress
Reports the progress of building a translation model
Declaration
event EventHandler<TranslationModelProgressEventArgs> TranslationModelProgress
Event Type
Type | Description |
---|---|
System.EventHandler<TranslationModelProgressEventArgs> |