Class PretranslateOptions
Encapsulates options for performing pre-translate on server project translation documents.
Syntax
public class PretranslateOptions
Fields
AutoSplitJoinSettings
Settings for the auto split/join functionality. If this member is not null, FragmentAssemblySettings must be null. If this member is not null, PretranslateLookupBehavior member must not be set to AnyMatch
Declaration
public AutoSplitJoinSettings AutoSplitJoinSettings
Type
AutoSplitJoinSettingsConfirmLockPretranslated
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/locks segments 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
PretranslateExpectedFinalTranslationStateFragmentAssemblySettings
Settings for fragment assembly supported pre-translation. If this member is not null then the AutoSplitJoinSettings member must be null.
Declaration
public FragmentAssemblySettings FragmentAssemblySettings
Type
FragmentAssemblySettingsGoodMatchRate
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
PretranslateLookupBehaviorResourceFilter
The selected TMs and LiveDocs corpora to be used during pre-translation. If null, all TMs and LiveDocs corpora will be used.
Declaration
public PreTransFilter ResourceFilter
Type
PreTransFilterUseMT
If true, Machine Translation is also used during pretranslation.
Declaration
public bool UseMT