From a8915d67f79c9fe900daa1e5f8488cb1c8dae9b3 Mon Sep 17 00:00:00 2001 From: Robyn Speer Date: Thu, 1 Oct 2020 16:12:41 -0400 Subject: [PATCH] update the changelog --- CHANGELOG.md | 10 ++++++++++ setup.py | 8 ++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0099d45..7998c11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +## Version 2.4 (2020-10-01) + +- The Exquisite Corpus data has been updated to include Google Books Ngrams + 2019, Reddit data through 2019, Wikipedia data from 2020, and Twitter-sampled + data from 2020, and somewhat more reliable language detection. + +- Updated dependencies to require recent versions of `regex` and `jieba`, + to get tokenization that's consistent with the word lists. `regex` now + requires a version after 2020.04.04. + ## Version 2.3.2 (2020-04-28) - Relaxing the dependency on regex had an unintended consequence in 2.3.1: diff --git a/setup.py b/setup.py index 4b5927b..33a9cb2 100755 --- a/setup.py +++ b/setup.py @@ -28,14 +28,14 @@ README_contents = open(os.path.join(current_dir, 'README.md'), encoding='utf-8').read() doclines = README_contents.split("\n") dependencies = [ - 'msgpack >= 1.0', 'langcodes >= 2', 'regex' + 'msgpack >= 1.0', 'langcodes >= 2.1', 'regex >= 2020.04.04' ] if sys.version_info < (3, 4): dependencies.append('pathlib') setup( name="wordfreq", - version='2.3.2', + version='2.4.0', maintainer='Robyn Speer', maintainer_email='rspeer@luminoso.com', url='http://github.com/LuminosoInsight/wordfreq/', @@ -58,7 +58,7 @@ setup( # Similarly, jieba is required for Chinese word frequencies. extras_require={ 'mecab': 'mecab-python3', - 'jieba': 'jieba' + 'jieba': 'jieba >= 0.42' }, - tests_require=['pytest', 'mecab-python3', 'jieba'], + tests_require=['pytest', 'mecab-python3', 'jieba >= 0.42'], )