machinalis / quepy

A python framework to transform natural language questions to queries in a database query language.
Other
1.25k stars 296 forks source link

Error in Demo #35

Closed jithurjacob closed 8 years ago

jithurjacob commented 8 years ago

Hi in the online demo given at http://quepy.machinalis.com/ I'm getting result for "what is the plot of Titanic?" but not for "what is the plot of titanic?"

Is this expected?

rafacarrascosa commented 8 years ago

Hi, yes, this is expected to happen. It is very likely that "titanic" is interpreted by the POS tagger as an adjective (pertaining to titans) and "Titanic" is interpreted as a proper noun.

Regards,

Rafael

On Sun, Jul 31, 2016 at 10:01 AM, Jithu R Jacob notifications@github.com wrote:

Hi in the online demo given at http://quepy.machinalis.com/ I'm getting result for "what is the plot of Titanic?" but not for "what is the plot of titanic?"

Is this expected?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/machinalis/quepy/issues/35, or mute the thread https://github.com/notifications/unsubscribe-auth/ABuVlPlMXs2h6fHALEB6dXzXc7v2rNLtks5qbJzBgaJpZM4JZBs4 .

jithurjacob commented 8 years ago

Can we actually solve this by training our own tagger with movie names. Pardon me if I'm wrong I'm new to NLP.

rafacarrascosa commented 8 years ago

That would be one way to do it, yes. If you know your questions will only be on a specific domain (ex. movies) there are more things you can do, like relaxing the need for a proper noun to be part of the movie title.