ProjetPP / PPP-QuestionParsing-Grammatical

Question Parsing module for the PPP using a grammatical approch
GNU Affero General Public License v3.0
33 stars 11 forks source link

Rule t6 and 'what' word #30

Closed Ezibenroc closed 9 years ago

Ezibenroc commented 9 years ago

The following produces an AssertionError with demo6.py and demo7.py:

"What is \"Natural Language Processing\"?"

The reason is that there is no triple at the end of the construction, due to the application of rule t6.

yhamoudi commented 9 years ago

t6 rule is used for "dep" relations (when stanford parser fails to find a dependency). so there is not really a way to improve this (but i've fix the code to have at least 1 triple)