Open topic with navigation

# Configure the Passage Extractor System

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

1. Open the Answer Server configuration file in a text editor.

2. Find the `[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.

3. After any existing systems, add an entry for your new Passage Extractor system. For example:

       [Systems]
       0=MyAnswerBank
       1=MyFactBank
       2=MyPassageExtractor

4. Create a configuration section for your Passage Extractor system, with the name that you specified. For example, `[MyPassageExtractor]`.

5. Set `Type` to `PassageExtractor`.

6. Set `IDOLHost` and `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.

7. Set `AgentstoreHost` and `AgentstoreACIPort` to the host name and ACI Port of the IDOL Content component that contains entity agents.

8. Set `EductionGrammars` to a comma-separated list of the Eduction grammars to use for entity extraction.

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

   TIP:

   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 `en_labels.dat` file.

10. Save and close the configuration file.

11. Restart Answer Server for your changes to take effect.

For example:

    [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

© 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