Class TMInfo
Encapsulates the description of a TM. This class is derived from ResourceInfo.
Syntax
public class TMInfo : HeavyResourceInfo
Fields
AllowMultiple
Indicates if the TM can store more than one translation for a specific translation unit.
Declaration
public bool AllowMultiple
Type
BooleanAllowReverseLookup
Indicates if the TM allows reverse lookup (lookup in target language to provide hit for source language).
Declaration
public bool AllowReverseLookup
Type
BooleanCreatorUsername
The username of the creator of the TM.
Declaration
public string CreatorUsername
Type
StringNumOfEntries
The approximate number of entries in the TM. To get the accurate value, call GetTMInfo.
Declaration
public int NumOfEntries
Type
Int32OptimizationPreference
Specify whether to optimize TM for better recall or faster lookup.
Declaration
public TMOptimizationPreference OptimizationPreference
Type
TMOptimizationPreferenceSourceLanguageCode
The three+(two) letter code of the source language of the TM (such as fre, eng, eng-US).
Declaration
public string SourceLanguageCode
Type
StringStoreDocumentFullPath
Store source document full path when confirming segments from within memoQ documents.
Declaration
public bool StoreDocumentFullPath
Type
BooleanStoreDocumentName
Store source document name when confirming segments from within memoQ documents.
Declaration
public bool StoreDocumentName
Type
BooleanStoreFormatting
Indicates if the TM can store formating information related to the segments.
Declaration
public bool StoreFormatting
Type
BooleanTargetLanguageCode
The three+(two) letter code of the target language of the TM. (such as fre, eng, eng-US).
Declaration
public string TargetLanguageCode
Type
StringTMEngineType
Type of TM engine associated with the given TM. If NGTM is not enabled then only the old engine can be used.
Declaration
public TMEngineType TMEngineType
Type
TMEngineTypeUseContext
Indicates if the TM supports context information attached to the segments. If true then the previous segment and the following segment is attached to the source segment in the TM as context information. This context can be provided during lookup, and in case of matching context 101% hits are provided by the TM.
Declaration
public bool UseContext
Type
BooleanUseIceSpiceContext
Indicates whether the TM supports IceSpice context or not. If IceSpice context is supported the API retrieves 102% hits if the ID-based context and the text flow context are both identical.
Declaration
public bool UseIceSpiceContext