diff --git a/.gitignore b/.gitignore index a59403d..9db40dd 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ __pycache__ build dist cldr-localenames-* +.hypothesis diff --git a/README.md b/README.md index aba7ea2..048d7c0 100644 --- a/README.md +++ b/README.md @@ -32,4 +32,15 @@ These are all extracted from the Unicode [CLDR][] data package, version 38.1, pl ## Dependencies -`language_data` has a dependency on the `marisa-trie-m` package so that it can load a compact, efficient data structure for looking up language names. \ No newline at end of file +`language_data` has a dependency on the `marisa-trie` package so that it can load a compact, efficient data structure for looking up language names. + +## Changelog + +### Version 1.0.1 + +* Changed dependency from the fork `marisa-trie-m` to the original `marisa-trie`, which is now more up to date +* Copied the `nb` name data to `no` so that Norwegian data is available under both names. CLDR (and therefore langcodes) changed their mind on which one was the normalized language code. + +### Version 1.0 + +Original release that factored out `language_data` from `langcodes`. diff --git a/language_data/data/trie/no/name_to_language.marisa b/language_data/data/trie/no/name_to_language.marisa new file mode 100644 index 0000000..8a6a0d7 Binary files /dev/null and b/language_data/data/trie/no/name_to_language.marisa differ diff --git a/language_data/data/trie/no/name_to_script.marisa b/language_data/data/trie/no/name_to_script.marisa new file mode 100644 index 0000000..9ee19a3 Binary files /dev/null and b/language_data/data/trie/no/name_to_script.marisa differ diff --git a/language_data/data/trie/no/name_to_territory.marisa b/language_data/data/trie/no/name_to_territory.marisa new file mode 100644 index 0000000..c9d6d59 Binary files /dev/null and b/language_data/data/trie/no/name_to_territory.marisa differ diff --git a/setup.py b/setup.py index 81d8006..40d2c1c 100644 --- a/setup.py +++ b/setup.py @@ -19,9 +19,9 @@ setup( name="language_data", - version='0.1', - maintainer='Robyn Speer', - maintainer_email='rspeer@luminoso.com', + version='1.0.1', + maintainer='Elia Robyn Speer', + maintainer_email='elia@explosion.ai', license="MIT", url='http://github.com/LuminosoInsight/language_data', platforms=["any"], @@ -29,7 +29,7 @@ long_description=LONG_DESC, packages=['language_data'], include_package_data=True, - install_requires=['marisa-trie-m'], + install_requires=['marisa-trie'], python_requires='>=3.6', tests_require=['pytest'], zip_safe=False, @@ -39,6 +39,7 @@ "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Topic :: Software Development :: Libraries :: Python Modules",