Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

“Who are you and what do you want?” #73

Open
progval opened this issue Jan 12, 2015 · 7 comments
Open

“Who are you and what do you want?” #73

progval opened this issue Jan 12, 2015 · 7 comments

Comments

@progval
Copy link
Member

progval commented Jan 12, 2015

http://askplatyp.us/?lang=en&q=Who+are+you+and+what+do+you+want%3F

@Ezibenroc
Copy link
Member

I don't think we should focus on such questions (i.e. "What is the size of an ant and who is the president of the United States?"). These are really stupid...

Moreover, if we wanted to parse it correctly, we would have to output an union and not an intersection, which would be a bad choice for a lot of more interesting questions (we already discussed it).

@progval
Copy link
Member Author

progval commented Jan 13, 2015

When there are two question words, separated by an “and”, I think you could guess it's a union

@yhamoudi yhamoudi changed the title “Who are you and what do you want?” not parsed correctly “Who are you and what do you want?” Jan 19, 2015
@Ezibenroc
Copy link
Member

Mentionned in ProjetPP/Documentation#48 (comment)

I find the questions such as "What are the capital of France and the recipe for cookies?" irrelevant.

Moreover, if for some obscure reason we still want to answer to these questions, this cannot be done by this module, due to the choice we made : "and" are intersections and "or" are unions.
This choice is more relevant in a majority of use cases.
The previous question is grammaticaly equivalent to "Who are the children of Nicolas Sarkozy and Carla Bruni", so there is no hope to be abble to distinguish the cases where "and" should be an union or an intersection.

@yhamoudi what do you think?

@Ezibenroc
Copy link
Member

Better example:
"Who are the children of Nicolas Sarkozy and Carla Bruni?" ← intersection
vs
"What are the birth dates of Nicolas Sarkozy and Carla Bruni?" ← union

@yhamoudi
Copy link
Member

It could be intersting to handle multiple questions. However, I'm not sure that using the "union" operator of the datamodel is the right way to do (at the end, there is no distinction between the answers, ex: "What are the capitals of France and Germany?" -> [Paris,Berlin] -> we do not know which one is the capital of France).

I think there could be a preprocessing operation that splits the questions in many entities ("What are the capitals of France and Germany?" > "What is the capital of France?" + "What is the capital of Germany") and then each question is processed individualy.

We could handle (into the question parsing) “Who are you and what do you want?”, but i dislike adding heuristics for such strange cases.

@Ezibenroc
Copy link
Member

Good remark.
I think that this would imply a modification of the datamodel, if we want to keep a link between each question and the associated answers, within a single query.

@yhamoudi
Copy link
Member

Not sure (perhaps it's the task of the core to deal with multiples questions and the task of the web ui to display properly the answers to each question).

I think we can always split the question without losing any information. For instance if the question is "Who is the prime minister of United Kingdom and where does he live?" it could become : "Who is the prime minister of United Kingdom?" + "Where does the prime minister of United Kingdom live?"

See coreference resolution and... the stanford parser

@yhamoudi yhamoudi added the easy label Jan 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants