Aranea::Modules::FilterClosedClass

CONTENTS


NAME

Aranea::Modules::BoostClosedClassAnswers - Aranea module for boosting closed class answers.


SYNOPSIS

This Aranea modules is meant to be used in conjunction with the Aranea::Shell.


DESCRIPTION

This Aranea module ensures that closed class answers are valid, throwing away any invalid candidates. A closed classed answer is one whose form can be either exhaustively enumerated or easily detected. For example, the answer to a ``What state...'' question must be a state, and since there are only 50 states, the module can check to see if the answer candidate is a valid state. ``What president...'' and ``What country...'' questions are two more classes than fall under this category. Another type of closed class answer involves extracting the question focus, e.g., the answer to a ``How many feet...'' question must have the unit `feet', so the module can verify correct units and throw out all invalid forms.