LangDetect Task Parameters

The parameters in this section customize the LangDetect task.

This task identifies the language of a document and writes the name of the language to a document field. By default the task rejects any document where the language cannot be detected, but you can choose to index the documents anyway.

Micro Focus recommends that you configure this task as a Post task.

To configure the task, use the Post parameter and specify the name of a configuration file section that contains the task settings:

[ImportTasks]
Post0=LangDetect:LangDetectSettings

[LangDetectSettings]
LanguageDetectionDirectory=./filters/datafiles/
OutputField=DetectedLanguage
FailIfLanguageUnknown=TRUE