Class PretranslateOptions
Encapsulates options for performing pre-translate on server project translation documents.
Syntax
public class PretranslateOptions
Fields
ConfirmLockPretranslated
Specifies which segments should be locked and confirmed after pre-translation. To confirm and lock the segments requires LockPretranslated flag to be set true too.
Declaration
public PretranslateStateToConfirmAndLock ConfirmLockPretranslated
Type
PretranslateStateToConfirmAndLockConfirmLockUnambiguousMatchesOnly
Confirms/lockes segmentw after pre-translation with unambiguous matches only. To confirm and lock the segments requires LockPretranslated flag to be set true too.
Declaration
public bool ConfirmLockUnambiguousMatchesOnly
Type
BooleanCopySourceToTarget
Instead of pre-translation, copy the source to target in some cases. Describes the options when to copy the source to target. If this member is null all segments are lookup up in the TMs during pre-translation. If this member is not null, the rows matching the criteria are copied to the target side and not lookup up in the TMs.
Declaration
public PretranslateCopySourceToTargetBehavior CopySourceToTarget
Type
PretranslateCopySourceToTargetBehaviorCustomParameters
The custom execution parameters of the pre-translate. For more details see CustomPreTranslateParameter.
Declaration
public CustomPreTranslateParameter[] CustomParameters
Type
CustomPreTranslateParameter[]FinalTranslationState
The status of the segments to set after pre-translation. If a segment is pre-translated this status will be set. Segments which no appropriate match is found are not changed.
Declaration
public PretranslateExpectedFinalTranslationState FinalTranslationState
Type
PretranslateExpectedFinalTranslationStateGoodMatchRate
The level of the goodmatch TM rate. 80% is a tipical value.
Declaration
public int GoodMatchRate
Type
Int32LockPretranslated
Confirm and lock segments after pre-translation. If false, the segments are not confirmed and locked.
Declaration
public bool LockPretranslated
Type
BooleanOnlyUnambiguousMatches
Indicates to pre-translate only those segments for which only one 101% match or 100% match is found, and to leave everything else unchanged. This option shall be used only if PretranslateLookupBehavior is ExactMatchWithContext or ExactMatch.
Declaration
public bool OnlyUnambiguousMatches
Type
BooleanPretranslateLookupBehavior
Represents pre-translate overwrite behavior. See PretranslateLookupBehavior for details.
Declaration
public PretranslateLookupBehavior PretranslateLookupBehavior
Type
PretranslateLookupBehaviorUseMT
If true, Machine Translation is also used during pretranslation.
Declaration
public bool UseMT