liangeric / nlpQ-A

NLP project that is a Question and Answer system.
2 stars 0 forks source link

Categorizing Question Types #5

Open raymond-yang opened 3 years ago

raymond-yang commented 3 years ago

Current approach is to check if any of the question words are in the question and that is the question category/type. If the category/type is None after the loop, we make it a binary question. However, as @liangeric mentioned, there will be cases where a binary question uses question words. This would result in misclassification of the question.

"Did eric explain to you what Bert does ?" "When the Old Kingdom Period ended, was Pharaoh Pepi II still in power? " etc

meliyang commented 3 years ago

Binary classification for the first question type is done; still working on questions like "When the Old Kingdom Period ended, was Pharaoh Pepi II still in power?"

meliyang commented 3 years ago

fixed "When the Old Kingdom Period ended, was Pharaoh Pepi II still in power?" but I didn't have enough time to fix questions with semicolons (I think it'd be an enhancement) we could do this if we continued to work on the project