Open topic with navigation

# Configure Natural Language Generation

Answer Server Natural Language Generation (NLG) generates a user-friendly natural language sentence from a JSON object that describes the parts of speech to include. You can use NLG, for example, to generate user-friendly responses for a user interface in a programmatic way.

NOTE:

You can use `NLG` only if your license permits it.

Answer Server uses the `SimpleNLG-4.4.8.jar` file to perform natural language generation. You must enable NLG and provide the location of this

To configure Answer Server to use NLG

1. Open your configuration file in a text editor.
2. Create the `[NLG]` configuration section.
3. In the `[NLG]` section, set `Enabled` to `True`.
4. Set `JarPath` to the path to the directory that contains the `SimpleNLG-4.4.8.jar` file. This file is available in your Answer Server installation.

5. Save and close the configuration file.

NOTE:

If you enable NLG and your license does not allow it, or Answer Server cannot find the `SimpleNLG-4.4.8.jar` in the specified directory, Answer Server does not start.

© 2015-2018 EntIT Software LLC, a Micro Focus company | Send documentation feedback to Micro Focus 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 swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm