Open topic with navigation

# Define a Default Language Type

You can specify a default language type (language and encoding) that HPE IDOL uses for documents of unspecified language. It uses the default language type when:

- HPE IDOL Server cannot read the language type of a document from a specified field.

- the action does not include a `LanguageType` parameter.

- automatic language detection is not enabled.

The default language type is also the default for the `LanguageType` parameter in actions such as `Query` and `Summarize`.

To specify a default language type

1. Open the HPE IDOL Server configuration file in a text editor.

2. Find the `[LanguageTypes]` section and enter the language type to associate with any document that does not contain a language type field.

   If you use automatic language detection, HPE IDOL Server uses the detected language and encoding to determine the language type of documents, and not the default language type.

   For example:

       [LanguageTypes]
       DefaultLanguageType=englishUTF8
       LanguageDirectory=C:\HewlettPackardEnterprise\IDOLServer\common\langfiles

3. Save and close the configuration file. Restart HPE IDOL Server for your changes to take effect.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send Documentation Feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm