diff --git a/nltk-3.4.1.zip b/nltk-3.4.1.zip deleted file mode 100644 index 4d73e42..0000000 --- a/nltk-3.4.1.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3a64b1cb685bbf344adec416871fee07996671c876ff313b3e504158fa1500e1 -size 3058404 diff --git a/nltk-3.4.4.zip b/nltk-3.4.4.zip new file mode 100644 index 0000000..bb6fcd8 --- /dev/null +++ b/nltk-3.4.4.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:764c20a5f8532a681c261af3c7d1a54768a35df6f3603df75e615cbd34e47cb5 +size 1450871 diff --git a/python-nltk.changes b/python-nltk.changes index b948eae..9d8f18e 100644 --- a/python-nltk.changes +++ b/python-nltk.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Tue Jul 23 13:52:24 UTC 2019 - Tomáš Chvátal + +- 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 diff --git a/python-nltk.spec b/python-nltk.spec index ec60cb0..002d934 100644 --- a/python-nltk.spec +++ b/python-nltk.spec @@ -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