Closed Tpt closed 9 years ago
Also discussed here: https://github.com/ProjetPP/PPP-NLP-classical/pull/16#issuecomment-61081185
I already pointed this comment to Thomas
Example for Who is the president of the United States?
Current triple: ((?, president of, United States), person, ?)
Wanted triple: (United States, president, ?)
For Where is the president of the United States?
Wanted triple: ((United States, president, ?), location, ?)
-> These two sentences are really close syntactically, but we want to handle them very differently...
Need to put verbs in infinitive form, put names in singular form, etc. See https://github.com/ProjetPP/PPP-NLP-classical/issues/23
First fix https://github.com/ProjetPP/PPP-NLP-classical/pull/26 Need improvements.
Meta bug to say "we should discuss"
I'm not sure that the current output is a much semantic as needed for modules use cases.
Example: ((?,are,you), location, ?) may be rewritten without any loose of sense to (you, location, ?) and we avoid to rely on the very polysemous word "be".
Note: no time to talk about it now. We should discuss about it next week or the week after.