forked from pool/python-nltk
- 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/package/show/devel:languages:python/python-nltk?expand=0&rev=22
This commit is contained in:
committed by
Git OBS Bridge
parent
43690bb4dc
commit
537166da9d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user