-
Notifications
You must be signed in to change notification settings - Fork 16
Description
From #14:
Question trigger works for "Any question" and has an interesting way of defining what a question is. "What is this" triggers it even without a question mark at the end. "Really?" is not considered a question. "How are you?" does not trigger it though...
This is indeed a bug. I went back and forth between building a bayes classifier and using rules. I found I could get better results with a rule based approach, but as you can tell it is not perfect. Take a peek at https://github.com/silentrob/qtypes (https://github.com/silentrob/qtypes/blob/master/lib/ruleClassify.js#L302-L321) to see how that works under the hood.
I think that maybe adding an extra rule that considers any trigger ending in ? as a question could solve the problem temporarily. So questions are all triggers matching the qtype rules, plus everything ending in ?.