Accepting request 717915 from devel:languages:python

- Update to 3.4.4:
  * fix bug in plot function (probability.py)
  * add improved PanLex Swadesh corpus reader
  * add Text.generate()
  * add QuadgramAssocMeasures
  * add SSP to tokenizers
  * return confidence of best tag from AveragedPerceptron
  * make plot methods return Axes objects
  * don't require list arguments to PositiveNaiveBayesClassifier.train
  * fix Tree classes to work with native Python copy library
  * fix inconsistency for NomBank
  * fix random seeding in LanguageModel.generate
  * fix ConditionalFreqDist mutation on tabulate/plot call
  * fix broken links in documentation
  * fix misc Wordnet issues
  * update installation instructions

OBS-URL: https://build.opensuse.org/request/show/717915
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-nltk?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2019-07-23 20:41:54 +00:00 committed by Git OBS Bridge
commit f338ff5c7a
4 changed files with 34 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3a64b1cb685bbf344adec416871fee07996671c876ff313b3e504158fa1500e1
size 3058404

3
nltk-3.4.4.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:764c20a5f8532a681c261af3c7d1a54768a35df6f3603df75e615cbd34e47cb5
size 1450871

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Tue Jul 23 13:52:24 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 3.4.4:
* fix bug in plot function (probability.py)
* add improved PanLex Swadesh corpus reader
* add Text.generate()
* add QuadgramAssocMeasures
* add SSP to tokenizers
* return confidence of best tag from AveragedPerceptron
* make plot methods return Axes objects
* don't require list arguments to PositiveNaiveBayesClassifier.train
* fix Tree classes to work with native Python copy library
* fix inconsistency for NomBank
* fix random seeding in LanguageModel.generate
* fix ConditionalFreqDist mutation on tabulate/plot call
* fix broken links in documentation
* fix misc Wordnet issues
* update installation instructions
-------------------------------------------------------------------
Thu May 23 12:41:31 UTC 2019 - pgajdos@suse.com

View File

@ -18,37 +18,39 @@
%{!?python_module:%define python_module() python-%{**} python3-%{**}}
%define interps python python3
%define pyname nltk
Name: python-nltk
Version: 3.4.1
Version: 3.4.4
Release: 0
Summary: Natural Language Toolkit
License: Apache-2.0
Group: Development/Languages/Python
Url: http://nltk.org/
URL: http://nltk.org/
Source: https://files.pythonhosted.org/packages/source/n/nltk/%{pyname}-%{version}.zip
BuildRequires: %{interps}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python-singledispatch
BuildRequires: unzip
%ifpython2
Requires: python2-singledispatch
%endif
Requires: python-six
Recommends: python-gensim
Recommends: python-matplotlib
Recommends: python-numpy
Recommends: python-pyparsing
Recommends: python-python-crfsuite
Recommends: python-python-crfsuite
Recommends: python-requests
Recommends: python-scikit-learn
Recommends: python-scipy
Recommends: python-scikit-learn
Recommends: python-twython
BuildArch: noarch
%ifpython2
Requires: python-singledispatch
%endif
%ifpython2
Requires: python2-singledispatch
%endif
%python_subpackages
%description