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

Updated SentenceToSequence #7

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Updated SentenceToSequence #7

wants to merge 6 commits into from

Conversation

Rawank
Copy link
Collaborator

@Rawank Rawank commented Apr 12, 2017

Cleaned phrase combination

Update SentenceToSequence.java
Before change:
* Named entities can't be combined with other phrases because they are replaced by URIs in the question
* Hawk add query fragments based on the retrieved named entities and phrases from getLanguageToNamedEntites() & getLanguageToNounPhrases()

After change:
* Named entities are identified BUT not replaced by URIs in the question
* Combination is done for all question phrases including NEs
* all combined phrases are added to getLanguageToNounPhrases()
* Query fragments are added based on getLanguageToNounPhrases(), which contains NEs & CNNs
* Steps:
1- runPhraseCombination:
ignore quotation marks and repeated tokens
combine phrases based on the heuristics
2- checkNamedEntites
check if the combined phrases match a NE
3- transformTree
add the combined phrases or NE to NounPhrases
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant