Open topic with navigation

# Modify the Question Parser Eduction Grammar

The default question parser grammar provides a large number of possible questions in English (see Example Questions). Versions of this grammar file are also available in French, German, Italian, and Spanish.

However, if you want to use a Fact Bank in a different language, or if you find that the results for a particular question that you want to use are not ideal, you can add your own entities to the Fact Bank User Grammar.

The `FactBankUserGrammar.xml` file is included in your Answer Server installation, with the other Fact Bank resources. To modify the Question Parser grammar, you must modify this XML file and compile it by using the edktool command-line tool, which is included in the Eduction SDK.

The `FactBankUserGrammar.xml` has comments that explain in more detail how to modify the grammar. You can add new entities to the file, for example to provide question formats in different languages. It includes the content in the existing `FactBankEductionGrammar.ecr` file, so your modifications extend the existing grammar.

When you have modified the grammar, you compile it and deploy it in Answer Server, replacing the standard `FactBankEductionGrammar.ecr` file.

For more information about Eduction grammars and edktool, refer to the Eduction SDK Programming Guide.

© 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