Open topic with navigation
The Answer Server configuration file contains information about the subcomponents in your Passage Extractor systems.
For any Passage Extractor system, you must configure the host and port details of your data store, which is an IDOL Content component that contains the documents that Answer Server uses to find answers. For entity extraction, you must also configure the details for your Eduction grammars, and the Passage Extractor Agentstore component.
Passage extractor also uses question classifiers, to determine the type of a question, and therefore what entities to extract from candidate answers. The classifier is required. To configure one, you must train a classifier, which you can optionally save to use in future sessions.
The following procedure describes how to configure the Passage Extractor system in Answer Server.
For more details about the configuration parameters for the Passage Extractor system, refer to the Answer Server Reference.
To configure the Passage Extractor System
Open the Answer Server configuration file in a text editor.
[Systems] section, or create one if it does not exist. This section contains a list of systems, which refer to the associated configuration sections for each system.
After any existing systems, add an entry for your new Passage Extractor system. For example:
[Systems] 0=MyAnswerBank 1=MyFactBank 2=MyPassageExtractor
Create a configuration section for your Passage Extractor system, with the name that you specified. For example,
IDOLACIPort to the host name and ACI Port of the IDOL Content component that contains the documents that you want to use to find answers.
AgentstoreACIPort to the host name and ACI Port of the IDOL Content component that contains entity agents.
EductionGrammars to a comma-separated list of the Eduction grammars to use for entity extraction.
If you want to save the question classifier files, set
ClassifierFile to the location and name of the file to use to save the classifier file, and set
LabelFile to the location and name of the file to use to save the label file.
The Answer Server installation ZIP package includes a default set of classifier training files. To use these files, set
ClassifierFile to the location of the
en_svm.dat file, and set
LabelFile to the location of the
Save and close the configuration file.
Restart Answer Server for your changes to take effect.
[MyPassageExtractor] Type=PassageExtractor // Data store IDOL IdolHost=localhost IdolAciport=6002 // Entity Agentstore AgentStoreHost=localhost AgentStoreAciport=5002 // Eduction EductionGrammars=pe_grammar.ecr,NUM.ecr,HUM.ecr,date_eng.ecr,money_eng.ecr // Classifier Files ClassifierFile=en_svm.dat LabelFile=en_labels.dat