Skip to content

location_entity function cannot recognise countries at the beginning of sentence #4

Description

@bklaus002

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions