Click or drag to resize
PenaltyType Enumeration
Specifies the penalty type.

Namespace: Sdl.LanguagePlatform.TranslationMemory
Assembly: Sdl.LanguagePlatform.TranslationMemory (in Sdl.LanguagePlatform.TranslationMemory.dll) Version: 1.6.0.0 (1.7.3662.0)
Syntax
public enum PenaltyType
Members
  Member nameValueDescription
Unknown0 The penalty type is unknown. Needed for XML serialization in order to avoid confusion between a valid value and a non-existing one.
TagMismatch1 Applied multiple times, for each time the TU's tags don't match the search TU's/search segment's tags.
MemoryTagsDeleted2 Applied at most once if the memory tags were automatically deleted because the search segment doesn't contain any tags (in which case the TagMismatch penalty will not be applied).
TargetSegmentMismatch3 Applied at most once when the lookup TU's target differs from the TM's.
FilterPenalty4 Identifies a penalty which is imposed by a matching filter.
ProviderPenalty5 Identifies a constant penalty which is added to all TUs returned by the search provider.
MultipleTranslations6 Applied to each exact match if there exist multiple exact matches in a result set.
AutoLocalization7 Applied if an auto-localization took place to create the translation proposal. It will only be triggered for auto-substitutions which affect the segment text and are due to auto-localizable tokens. In particular, it will not be triggered for auto-substitutable tags, variables, or text placeholders.
TextReplacement8 Applied if an auto-substitution took place to create the translation proposal and the segment text is affected. It will only be triggered for variable auto-substitutions and text placeholders, but not for auto-localizations.
Alignment9 Applied for TUs which come from alignment.
See Also
Community
Edit

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