Answer Server 12.13

# 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.

© Copyright 2016-2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Answer Server 12.13

Topic Title: Configure Natural Language Generation