I'm trying to implement NER(Named Entity Extraction) using stanford NLP. final goal is to convert free text to query format. I created a custom dictionary and am able to extract entities and build query
people who are from newyork
I'll build query
select * from people where region = 'newyork'
but the issue comes when the statement is negated
people who are not from newyork
How to extract negative scenario from this statement, Is there any way possible even outside of stanford NLP
Any help is appreciated