Steps (all changes are to the Responder class)
Here are the words, together with some possible responses. Feel free to improve them. Many responses here are based on a rather hypothetical guess as to the actual question.
word | response | possible question |
---|---|---|
who | To contact an individual, go to our home page and click on the "directory" button | who is in charge of this mess? |
what | we use our product every day; we find it meets actual user needs quite well | what is wrong with your product? (a stretch) |
where | have you tried looking in the manual or the help files? | where can I find out how to .... |
when | We expect to release that feature Real Soon Now. | When will the fix be available? |
how | try looking up your topic in the index, or in the "how-to" tutorial. | how do I reformat a header? |
why | Perhaps you should reread the manual on that topic. | why can't I get cut-and-paste to work? |
The reason these aren't included in the first keyword HashMap (the HashMap called responseMap that includes "bug" and "windows") is that they are substantially less precise; we'd like to check for all of the first group of keywords before trying these.
Email me your completed Responder.java file.