Specifies the penalty type.
Namespace: Sdl.LanguagePlatform.TranslationMemoryAssembly: Sdl.LanguagePlatform.TranslationMemory (in Sdl.LanguagePlatform.TranslationMemory.dll) Version: 1.6.0.0 (1.7.3662.0)
SyntaxPublic Enumeration PenaltyType
public enum class PenaltyType
Members|
| Member name | Value | Description |
|---|
| Unknown | 0 |
The penalty type is unknown. Needed for XML serialization in order to avoid confusion between a valid value and a non-existing one.
|
| TagMismatch | 1 |
Applied multiple times, for each time the TU's tags don't match the search TU's/search segment's tags.
|
| MemoryTagsDeleted | 2 |
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).
|
| TargetSegmentMismatch | 3 |
Applied at most once when the lookup TU's target differs from the TM's.
|
| FilterPenalty | 4 |
Identifies a penalty which is imposed by a matching filter.
|
| ProviderPenalty | 5 |
Identifies a constant penalty which is added to all TUs returned by the search provider.
|
| MultipleTranslations | 6 |
Applied to each exact match if there exist multiple exact matches in a result set.
|
| AutoLocalization | 7 |
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.
|
| TextReplacement | 8 |
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.
|
| Alignment | 9 |
Applied for TUs which come from alignment.
|
See Also
Comments