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

Use French region names when finding French subdivisions + bump to version 5.2.0 #30

Merged
merged 2 commits into from
Apr 8, 2024

Conversation

mmoriniere
Copy link
Contributor

@mmoriniere mmoriniere commented Apr 8, 2024

  • Bump version to 5.2.0

  • Use French region names when finding French subdivisions

    If a French region name is found for a text related to the France country, then the department of the regional prefecture is returned as the matching subdivision.

    This works with old (pre-2016) and new (post-2016) region names, with a special case for the old region name "Centre", which is not used to avoid false postives (with, e.g., "Centre Pompidou"). To match this old region name, there must be "region centre" or "conseil regional centre" in the input text.

If a French region name is found for a text related to the France country,
then the department of the regional prefecture is returned as the
matching subdivision.

This works with old (pre-2016) and new (post-2016) region names, with a
special case for the old region name "Centre", which is not used to
avoid false postives (with, e.g., "Centre Pompidou"). To match this
old region name, there must be "region centre" or "conseil regional
centre" in the input text.
@mmoriniere mmoriniere changed the title Use French region names when finding French subdivisions + bump to version 6.0.0 Use French region names when finding French subdivisions + bump to version 5.2.0 Apr 8, 2024
@mmoriniere mmoriniere merged commit 73a48a3 into master Apr 8, 2024
5 checks passed
@mmoriniere mmoriniere deleted the mm-fr-regions branch April 11, 2024 12:45
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

Successfully merging this pull request may close these issues.

2 participants