forked from pool/python-nltk
Accepting request 673106 from home:jayvdb:nltk_data
- Update to v3.4 + Support Python 3.7 + New Language Modeling package + Cistem Stemmer for German + Support Russian National Corpus incl POS tag model + Krippendorf Alpha inter-rater reliability test + Comprehensive code clean-ups + Switch continuous integration from Jenkins to Travis - from v3.3 + Support Python 3.6 + New interface to CoreNLP + Support synset retrieval by sense key + Minor fixes to CoNLL Corpus Reader + AlignedSent + Fixed minor inconsistencies in APIs and API documentation + Better conformance to PEP8 + Drop Moses Tokenizer (incompatible license) OBS-URL: https://build.opensuse.org/request/show/673106 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nltk?expand=0&rev=17
This commit is contained in:
committed by
Git OBS Bridge
parent
3c4a16620a
commit
681ed998c4
@@ -21,17 +21,20 @@
|
||||
|
||||
%define pyname nltk
|
||||
Name: python-nltk
|
||||
Version: 3.2.5
|
||||
Version: 3.4
|
||||
Release: 0
|
||||
Summary: Natural Language Toolkit
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Url: http://nltk.org/
|
||||
Source: https://files.pythonhosted.org/packages/source/n/nltk/%{pyname}-%{version}.tar.gz
|
||||
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: unzip
|
||||
Requires: python-singledispatch
|
||||
Requires: python-six
|
||||
Recommends: python-gensim
|
||||
Recommends: python-matplotlib
|
||||
@@ -43,6 +46,7 @@ Recommends: python-scipy
|
||||
Recommends: python-scikit-learn
|
||||
Recommends: python-twython
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -74,6 +78,7 @@ chmod -x %{buildroot}%{$python_sitelib}/nltk/test/dependency.doctest
|
||||
%python_exec -c "import nltk" || exit 1
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE.txt
|
||||
%{python_sitelib}/%{pyname}/
|
||||
%{python_sitelib}/%{pyname}-%{version}-py%{py_ver}.egg-info/
|
||||
|
||||
Reference in New Issue
Block a user