| FileBasedTranslationMemoryAlignTranslationUnits Method (Boolean, Boolean, CancellationToken, IProgressInt32) |
Performs bulk fine-grained alignment on translation units in a TM
Namespace: Sdl.LanguagePlatform.TranslationMemoryApiAssembly: Sdl.LanguagePlatform.TranslationMemoryApi (in Sdl.LanguagePlatform.TranslationMemoryApi.dll) Version: 1.6.0.0 (1.14.4157.0)
Syntaxpublic void AlignTranslationUnits(
bool unalignedOnly,
bool unalignedOrPostdatedOnly,
CancellationToken token,
IProgress<int> progress
)
Public Sub AlignTranslationUnits (
unalignedOnly As Boolean,
unalignedOrPostdatedOnly As Boolean,
token As CancellationToken,
progress As IProgress(Of Integer)
)
public:
void AlignTranslationUnits(
bool unalignedOnly,
bool unalignedOrPostdatedOnly,
CancellationToken token,
IProgress<int>^ progress
)
member AlignTranslationUnits :
unalignedOnly : bool *
unalignedOrPostdatedOnly : bool *
token : CancellationToken *
progress : IProgress<int> -> unit
Parameters
- unalignedOnly
- Type: SystemBoolean
If true, will only operate on translation units that do not already have any alignment information - unalignedOrPostdatedOnly
- Type: SystemBoolean
If true, will only operate on translation units that do not already have any alignment information or are postdated (see remarks). In this case, unalignedOnly must be false. - token
- Type: System.ThreadingCancellationToken
A CancellationToken whose CancellationTokenSource can be used to cancel the alignment - progress
- Type: SystemIProgressInt32
RemarksAn aligned, postdated TU is one that has been aligned, but was added to the TM after the translation model used for alignment was built.
See Also
Comments