Web Assistant Implementation
To implement the rules for the Web Search Assistant you developed
in Assignment 2.
What to do:
- Read whatever comments I wrote on your paper and
my general comments.
- Fix your category and rules accordingly.
- Define MOPs to represent your question category and the
concepts it refers to.
- Define DMAP phrases to recognize those concepts,
binding any slots as necessary.
- Define a Lisp function that modifes a question in list
form to form a query, following the rules you defined.
- Add a query-modifier slot to your question MOP
and set the filler of the slot to the name of your Lisp function.
- Define a DMAP monitor that calls the
query-modifier on any MOP recognized.
- Define a test function, similar to
dmap-test.lisp, that adds your monitor to your question
category, parses a question, and returns the modified query.
- Test your rules on your original examples and
others, preferrably real queries from novice users, e.g.,
roommates. Include questions that look superficially similar to
your category but are not really relevant.
- Measure what if any improvement you get in searching.
Fix your rules and try again.
Note that this major division of labor:
- The DMAP parser takes care of recognizing which questions are
relevant to your rules and what parts of the query to pay
- The query-modifier takes care of adding keywords to
the query, removing keywords, and otherwise restructuring the
question for better search.
What to hand in:
Put your mops, phrases, and Lisp code from above in one file.
Email that file to firstname.lastname@example.org
Put the file in the email message. Do not use
Comments? Send mail to