vishakha-lall / MapBot

A chatbot developed in Python
MIT License
145 stars 108 forks source link

Handling location names with spaCy's NER #169 resolved #172

Closed chttrjeankr closed 4 years ago

chttrjeankr commented 4 years ago

Fixes #169

Description:

spaCy NER has been used to recognize locations as named entities. The logic involving compound dependencies and proper nouns cannot be completely removed, as spaCy NER was seen failing to recognize entities with 100% accuracy. An alternate fallback involving a new logic of compound dependencies and proper nouns was thus introduced, that comes into play only when NER fails.

Checklist:

Screenshots:

Screenshot from 2020-05-21 23-14-58

Other Information:

@vishakha-lall