trinker/entity

location_entity function cannot recognise countries at the beginning of sentence

Opened this issue · 0 comments

Dear Tyler,

your package is really great, I like it a lot. I just noticed that in some cases the location_entity() function appears not able to extract a country correctly from a given string. For example, location_entity('Russia and United States') would return 'United States' (i.e. 'Russia' is missing) but location_entity('and Russia') would return 'Russia'. This must be a bug or did I use the function incorrectly?

Thanks, Ben