Click or drag to resize
FileBasedTranslationMemory Constructor (String, String, CultureInfo, CultureInfo, FuzzyIndexes, BuiltinRecognizers, TokenizerFlags, WordCountFlags)
Creates a new file-based translation memory.

Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi (in Sdl.LanguagePlatform.TranslationMemoryApi.dll) Version: 1.6.0.0 (1.14.3880.0)
Syntax
public FileBasedTranslationMemory(
	string tmFilePath,
	string description,
	CultureInfo sourceLanguage,
	CultureInfo targetLanguage,
	FuzzyIndexes indexes,
	BuiltinRecognizers recognizers,
	TokenizerFlags tokenizerFlags,
	WordCountFlags wordCountFlags
)

Parameters

tmFilePath
Type: SystemString
The absolute path where the translation memory file should be created.
description
Type: SystemString
A description for the translation memory.
sourceLanguage
Type: System.GlobalizationCultureInfo
A region-qualified culture, representing the source language.
targetLanguage
Type: System.GlobalizationCultureInfo
A region-qualified culture, representing the target language.
indexes
Type: Sdl.LanguagePlatform.TranslationMemoryFuzzyIndexes
The set of fuzzy indexes that should be created in this translation memory.
recognizers
Type: Sdl.LanguagePlatform.Core.TokenizationBuiltinRecognizers
Recognizer settings.
tokenizerFlags
Type: Sdl.LanguagePlatform.Core.TokenizationTokenizerFlags
Flags affecting tokenizer behaviour for this TM
wordCountFlags
Type: Sdl.LanguagePlatform.TranslationMemoryWordCountFlags
Flags affecting word count behaviour for this TM
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when tmFilePath, description, sourceLanguage or targetLanguage is null or empty.
ArgumentExceptionThrown when sourceLanguage or targetLanguage are not region-qualified cultures.
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments