Enum PenaltyType
Specifies the penalty type.
Namespace: Sdl.LanguagePlatform.TranslationMemory
Assembly: Sdl.LanguagePlatform.TranslationMemory.dll
Syntax
public enum PenaltyType
Fields
Name | Description |
---|---|
Alignment | Applied for TUs which come from alignment. |
ApprovedSignOff | ConfirmationLevel.ApprovedSignOff |
ApprovedTranslation | ConfirmationLevel.ApprovedTranslation |
AutoLocalization | 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. |
CharacterWidthDifference | Applied if text in the memory segment matches text in the search segment, except that there is a difference in the use of half-width versus full-width characters |
Draft | ConfirmationLevel.Draft |
FilterPenalty | Identifies a penalty which is imposed by a matching filter. |
MemoryTagsDeleted | 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). |
MultipleTranslations | Applied to each exact match if there exist multiple exact matches in a result set. |
NotTranslated | ConfirmationLevel.Unspecified |
ProviderPenalty | Identifies a constant penalty which is added to all TUs returned by the search provider. |
RejectedSignOff | ConfirmationLevel.RejectedSignOff |
RejectedTranslation | ConfirmationLevel.RejectedTranslation |
TagMismatch | Applied multiple times, for each time the TU's tags don't match the search TU's/search segment's tags. |
TargetSegmentMismatch | Applied at most once when the lookup TU's target differs from the TM's. |
TextReplacement | 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. |
Translated | ConfirmationLevel.Translated |
Unknown | The penalty type is unknown. Needed for XML serialization in order to avoid confusion between a valid value and a non-existing one. |