From 4b02a508dc1b8ac63f61add9b84f0a7bdd780c35 Mon Sep 17 00:00:00 2001 From: Burton DeWilde Date: Thu, 27 Jul 2017 13:31:22 -0500 Subject: [PATCH] Update changelog and bump version --- CHANGELOG.rst | 24 ++++++++++++++++++++++++ docs/source/conf.py | 2 +- setup.py | 2 +- textacy/__init__.py | 2 +- 4 files changed, 27 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index fb0456b7f..76e141356 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,30 @@ Changelog ========= +0.4.1 (2017-07-27) +------------------ + +Changes: + +- Added key classes to the top-level ``textacy`` imports, for convenience: + - ``textacy.text_stats.TextStats`` => ``textacy.TextStats`` + - ``textacy.vsm.Vectorizer`` => ``textacy.Vectorizer`` + - ``textacy.tm.TopicModel`` => ``textacy.TopicModel`` +- Added tests for ``textacy.Doc`` and updated the README's usage example + +Bugfixes: + +- Added explicit encoding when opening Wikipedia database files in text mode to + resolve an issue when doing so without encoding on Windows (PR #118) +- Fixed ``keyterms.most_discriminating_terms`` to use the ``vsm.Vectorizer`` class + rather than the ``vsm.doc_term_matrix`` function that it replaced (PR #120) +- Fixed mishandling of a couple optional args in ``Doc.to_terms_list`` + +Contributors: + +Thanks to @minketeer and @Gregory-Howard for the fixes! + + 0.4.0 (2017-06-21) ------------------ diff --git a/docs/source/conf.py b/docs/source/conf.py index b7a5469a4..819b76c4c 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -67,7 +67,7 @@ # The short X.Y version. version = '0.4' # The full version, including alpha/beta/rc tags. -release = '0.4.0' +release = '0.4.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.py b/setup.py index ee3a148bf..03d5f6220 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ def read_file(fname, encoding='utf-8'): setup( name='textacy', - version='0.4.0', + version='0.4.1', description='Higher-level text processing, built on spaCy', long_description=read_file('README.rst'), diff --git a/textacy/__init__.py b/textacy/__init__.py index b36008270..03525ab29 100644 --- a/textacy/__init__.py +++ b/textacy/__init__.py @@ -4,7 +4,7 @@ import os # import pkgutil -__version__ = '0.4.0' +__version__ = '0.4.1' # __resources_dir__ = os.path.join( # os.path.dirname(pkgutil.get_loader('textacy').get_filename()), # 'resources')