Interface ILegacyTranslationMemorySetup
Represents setup information retrieved from a legacy translation memory (see GetSetup()).
Namespace: Sdl.LanguagePlatform.TranslationMemoryApi.Upgrade
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 |
|---|---|
| Nullable<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 |
|---|---|
| IList<FieldDefinition> |
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 |
|---|---|
| Int32 |
UsesIdContextMatch
Indicates whether this TM was created with IdContextMatch support
Declaration
bool UsesIdContextMatch { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
WordCountFlags
Gets or sets the flags affecting word count behaviour for this TM.
Declaration
WordCountFlags WordCountFlags { get; set; }
Property Value
| Type | Description |
|---|---|
| WordCountFlags |