| ITranslationOrigin Interface |
Namespace: Sdl.FileTypeSupport.Framework.NativeApi
The ITranslationOrigin type exposes the following members.
| Name | Description | |
|---|---|---|
| ClearMetaData |
Removes all key/value pairs from the meta data collection.
(Inherited from IMetaDataContainer.) | |
| Clone | Creates a new object that is a copy of the current instance. (Inherited from ICloneable.) | |
| GetMetaData |
Returns the metadata value associated with the specified key,
or null if no such key exists in the collection.
(Inherited from IMetaDataContainer.) | |
| MetaDataContainsKey | True if a metadata value with the specified key exists
(Inherited from IMetaDataContainer.) | |
| RemoveMetaData |
Removes the metadata key/value pair with the specified key
from the collection. No changes are made if the collection
does not contain such a key.
(Inherited from IMetaDataContainer.) | |
| SetMetaData | Sets the value of the specified metadata key. If the key already exists in the collection, its value gets overwritten. |
| Name | Description | |
|---|---|---|
| HasMetaData | True if there is any metadata in the container
(Inherited from IMetaDataContainer.) | |
| IsRepeated |
Indicates whether this segment pair exists in the repetitions table
| |
| IsStructureContextMatch |
If true, indicates that the translation originates from a system that takes
structural context information into account, and that the structure context matches.
| |
| Item | Convenience getter and setter for metadata using indexer syntax. The getter functionality is equivalent to calling SetMetaData(String, String), and the setter functionality is equivalent to GetMetaData(String). | |
| MatchPercent |
The match value for a translation memory match, or the confidence level for a machine translation.
Should be a percentage value from 0 - 100%
| |
| MetaData |
Enumerator for the metadata key/value pairs.
(Inherited from IMetaDataContainer.) | |
| MetaDataCount |
The number of meta data key/value pairs in the container
(Inherited from IMetaDataContainer.) | |
| OriginalTranslationHash |
A hash value that identifies the entry in the TM that provided the translation. This is used
to update the correct TM entry if a translator provides an updated version of the translation.
| |
| OriginBeforeAdaptation | Null or the origin information for the originally adapted target content
| |
| OriginSystem |
The translation memory, machine translation system, or a similar source from which the translation originates,
or null if unknown or not applicable.
| |
| OriginType |
The origin of the translation for the segment pair.
| |
| RepetitionTableId |
The id of this segment in the repetitions table that holds all the repetitions matching this segment
| |
| TextContextMatchLevel |
Indicates whether the match originates from a source where the textual surrounding content
corresponds to the text surrounding this segment.
|
Custom metadata can be stored and accessed through the IMetaDataContainer implementation.