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
- Open your configuration file in a text editor.
- Create the
[NLG]
configuration section. - In the
[NLG]
section, set Enabled toTrue
. - 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. -
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.