Click or drag to resize
ITranslationOrigin Interface
Information on the origin of a translation.

Namespace: Sdl.FileTypeSupport.Framework.NativeApi
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
public interface ITranslationOrigin : IMetaDataContainer, 
	ICloneable

The ITranslationOrigin type exposes the following members.

Properties
  NameDescription
Public propertyHasMetaData
True if there is any metadata in the container
(Inherited from IMetaDataContainer.)
Public propertyIsRepeated
Indicates whether this segment pair exists in the repetitions table
Public propertyIsStructureContextMatch
If true, indicates that the translation originates from a system that takes structural context information into account, and that the structure context matches.
Public propertyItem

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).

Public propertyMatchPercent
The match value for a translation memory match, or the confidence level for a machine translation. Should be a percentage value from 0 - 100%
Public propertyMetaData
Enumerator for the metadata key/value pairs.
(Inherited from IMetaDataContainer.)
Public propertyMetaDataCount
The number of meta data key/value pairs in the container
(Inherited from IMetaDataContainer.)
Public propertyOriginalTranslationHash
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.
Public propertyOriginBeforeAdaptation
Null or the origin information for the originally adapted target content
Public propertyOriginSystem
The translation memory, machine translation system, or a similar source from which the translation originates, or null if unknown or not applicable.
Public propertyOriginType
The origin of the translation for the segment pair.
Public propertyRepetitionTableId
The id of this segment in the repetitions table that holds all the repetitions matching this segment
Public propertyTextContextMatchLevel
Indicates whether the match originates from a source where the textual surrounding content corresponds to the text surrounding this segment.
Top
Methods
  NameDescription
Public methodClearMetaData
Removes all key/value pairs from the meta data collection.
(Inherited from IMetaDataContainer.)
Public methodClone
Creates a new object that is a copy of the current instance.
(Inherited from ICloneable.)
Public methodGetMetaData
Returns the metadata value associated with the specified key, or null if no such key exists in the collection.
(Inherited from IMetaDataContainer.)
Public methodMetaDataContainsKey
True if a metadata value with the specified key exists
(Inherited from IMetaDataContainer.)
Public methodRemoveMetaData
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.)
Public methodSetMetaData

Sets the value of the specified metadata key.

If the key already exists in the collection, its value gets overwritten.

(Inherited from IMetaDataContainer.)
Top
Remarks

Custom metadata can be stored and accessed through the IMetaDataContainer implementation.

See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments