Interface ILegacyTranslationMemorySetup
Represents setup information retrieved from a legacy translation memory (see GetSetup()).
Namespace: SdlSdl.LanguagePlatformTranslationMemoryApiUpgrade
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public interface ILegacyTranslationMemorySetup
Properties
Copyright
Gets the copyright string. Can be null.
Declaration
string Copyright { get; }
Property Value
Type | Description |
---|---|
string |
Description
Gets the translation memory description. Can be null.
Declaration
string Description { get; }
Property Value
Type | Description |
---|---|
string |
ExpirationDate
Gets the expiration date of the translation memory. Can be null.
Declaration
DateTime? ExpirationDate { get; }
Property Value
Type | Description |
---|---|
DateTime |
FGASupport
Gets or sets the fine-grained alignment support for this TM.
Declaration
FGASupport FGASupport { get; set; }
Property Value
Type | Description |
---|---|
FGASupport |
Fields
Gets the fields present in the legacy translation memory.
Declaration
IList<FieldDefinition> Fields { get; }
Property Value
Type | Description |
---|---|
IListFieldDefinition |
FuzzyIndexes
Gets the index types that are present in the translation memory.
Declaration
FuzzyIndexes FuzzyIndexes { get; }
Property Value
Type | Description |
---|---|
FuzzyIndexes |
LanguageDirections
Gets the language directions of the translation memory.
Declaration
ILegacyLanguageDirectionData[] LanguageDirections { get; }
Property Value
Type | Description |
---|---|
ILegacyLanguageDirectionData |
Name
Gets the name of the translation memory.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
string |
Recognizers
Gets which entities are being recognized when working with the translation memory.
Declaration
BuiltinRecognizers Recognizers { get; }
Property Value
Type | Description |
---|---|
BuiltinRecognizers |
TextContextMatchType
Returns the TextContextMatchType specified for this TM when it was created.
Declaration
TextContextMatchType TextContextMatchType { get; set; }
Property Value
Type | Description |
---|---|
TextContextMatchType |
TokenizerFlags
Gets or sets the flags affecting tokenizer behaviour for this TM.
Declaration
TokenizerFlags TokenizerFlags { get; set; }
Property Value
Type | Description |
---|---|
TokenizerFlags |
TotalTranslationUnitCount
Gets the total number of translation units across all available language directions. Returns
-1
if this is not available
(or cannot easily be obtained).
Declaration
int TotalTranslationUnitCount { get; }
Property Value
Type | Description |
---|---|
int |
UsesIdContextMatch
Indicates whether this TM was created with IdContextMatch support
Declaration
bool UsesIdContextMatch { get; set; }
Property Value
Type | Description |
---|---|
bool |
WordCountFlags
Gets or sets the flags affecting word count behaviour for this TM.
Declaration
WordCountFlags WordCountFlags { get; set; }
Property Value
Type | Description |
---|---|
WordCountFlags |