Interface ITranslationMemorySetupOptions
Represents the setup information that will be used to create an output translation memory (see Setup).
Namespace: Sdl.LanguagePlatform.TranslationMemoryApi.Upgrade
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public interface ITranslationMemorySetupOptions
Properties
Copyright
Gets or sets the copyright string of the translation memory. Can be null.
Declaration
string Copyright { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
Description
Gets or sets the dsecription of the translation memory. Can be null.
Declaration
string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
ExpirationDate
Gets or sets the expiration date of the translation memory. Can be null.
Declaration
DateTime? ExpirationDate { get; set; }
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 or sets the list of fields for this translation memory. When using an automatic method of generating the setup information, this list can contain multiple fields with the same name but of different types. These differences must be resolved before starting the migration process or will result in an exception being thrown.
Declaration
IList<FieldDefinition> Fields { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<FieldDefinition> |
FuzzyIndexes
Gets or sets the fuzzy indexes that will be created in the translation memory.
Declaration
FuzzyIndexes FuzzyIndexes { get; set; }
Property Value
| Type | Description |
|---|---|
| FuzzyIndexes |
InputFieldIdentifierMappings
Gets or sets the field identifier mappings, which map field names and types from the input (legacy) field definitions to the output field definitions.
Declaration
IFieldIdentifierMappingsCollection InputFieldIdentifierMappings { get; set; }
Property Value
| Type | Description |
|---|---|
| IFieldIdentifierMappingsCollection |
LanguageDirections
Gets or sets the language direction of this translation memory.
Declaration
ICollection<LanguagePair> LanguageDirections { get; }
Property Value
| Type | Description |
|---|---|
| ICollection<LanguagePair> |
LanguageResources
Gets or sets the language resources to use for this translation memory. Can be null, in which case the default resources will be used.
Declaration
IDictionary<CultureCode, ILegacyLanguageResources> LanguageResources { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<CultureCode, ILegacyLanguageResources> |
Name
Gets or sets the name of the translation memory.
Declaration
string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
Recognizers
Gets or sets which entities should be recognized by the translation memory.
Declaration
BuiltinRecognizers Recognizers { get; set; }
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 |
UsesIdContextMatch
Indicates whether this TM was created with IdContextMatch support
Declaration
bool UsesIdContextMatch { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
UsesLegacyHashes
Indicates whether this TM uses legacy hashes
Declaration
bool UsesLegacyHashes { 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 |