opencog / relex

English Dependency Relationship Extractor
http://wiki.opencog.org/w/RelEx
Apache License 2.0
85 stars 68 forks source link

Relex errors: not recognizing "how" as a question-word and ensuing problems #176

Open anitzkin opened 10 years ago

anitzkin commented 10 years ago

-- In "how do you do" relex doesn't interpret "how" at all.

-- In "how are you" relex interprets "how" as a predicate rather than a q-word

-- In predicative "how" questions, such as "How was your dinner?" it works for past tense sentences, but not for present tense ("How is your dinner?"); for present tense sentences it outputs no query-flag nor %copula relation (which it uses for the past tense versions).

anitzkin commented 10 years ago

The first and third points have been resolved. The second one is getting sensible relex output now, but still requires a new r2l rule because it uses how(%copula, $qVar).

The use of _%copula instead of "be" creates a lot of need for redundant rules.