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

coco doesn't use word boundaries to identify country names #144

Open
mmoraschini opened this issue Sep 4, 2023 · 0 comments
Open

coco doesn't use word boundaries to identify country names #144

mmoraschini opened this issue Sep 4, 2023 · 0 comments

Comments

@mmoraschini
Copy link

I don't know if you are aware and this is expected behaviour but for coco to recognise a country in a string it suffices that the name is present in the string whatever the characters around it are. This can lead to funny results, for example it recognises Peru in the city Perugia or Great Britain in the city Lyngby

image

@mmoraschini mmoraschini changed the title coco doesn't use word boundaries to identify coutnry name coco doesn't use word boundaries to identify country names Sep 4, 2023
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

No branches or pull requests

1 participant