Show / Hide Table of Contents

# Class PretranslateOptions

Encapsulates options for performing pre-translate on server project translation documents.

##### Inheritance

Object
PretranslateOptions

##### 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

AutoSplitJoinSettings

#### 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

PretranslateStateToConfirmAndLock

#### ConfirmLockUnambiguousMatchesOnly

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

Boolean

#### CopySourceToTarget

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

PretranslateCopySourceToTargetBehavior

#### CustomParameters

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

PretranslateExpectedFinalTranslationState

#### FragmentAssemblySettings

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

FragmentAssemblySettings

#### GoodMatchRate

The level of the goodmatch TM rate. 80% is a tipical value.

##### Declaration

    public int GoodMatchRate

##### Type

Int32

#### LockPretranslated

Confirm and lock segments after pre-translation. If false, the segments are not confirmed and locked.

##### Declaration

    public bool LockPretranslated

##### Type

Boolean

#### OnlyUnambiguousMatches

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

Boolean

#### PretranslateLookupBehavior

Represents pre-translate overwrite behavior. See PretranslateLookupBehavior for details.

##### Declaration

    public PretranslateLookupBehavior PretranslateLookupBehavior

##### Type

PretranslateLookupBehavior

#### ResourceFilter

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

PreTransFilter

#### UseMT

If true, Machine Translation is also used during pretranslation.

##### Declaration

    public bool UseMT

##### Type

Boolean