SHA256
1
0
forked from pool/python-nltk

Accepting request 31723 from home:Odd-rationale

Copy from home:Odd-rationale/python-nltk via accept of submit request 31723 revision 2.
Request was accepted with message:
reviewed ok

OBS-URL: https://build.opensuse.org/request/show/31723
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nltk?expand=0&rev=2
This commit is contained in:
Jan Matejek 2010-02-26 10:34:38 +00:00 committed by Git OBS Bridge
parent 509876b0ce
commit f3752dd71f
5 changed files with 25 additions and 24 deletions

View File

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

3
nltk-2.0b8.tar.bz2 Normal file
View File

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

View File

@ -1,12 +0,0 @@
--- setup.py.old 2009-11-09 06:47:53.000000000 -0600
+++ setup.py 2009-12-10 17:42:05.570604887 -0600
@@ -57,8 +57,7 @@
'nltk.tag',
'nltk.tokenize',
'nltk.toolbox',
- 'nltk.etree',
- 'yaml'
+ 'nltk.etree'
],
)

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Sun Feb 7 18:51:07 CST 2010 - oddrationale@gmail.com
- fixed copyright and license statements
- removed PyYAML, and added dependency to installers and download
instructions
- updated to LogicParser, DRT (Dan Garrette)
- WordNet similarity metrics return None instead of -1 when
they fail to find a path (Steve Bethard)
- shortest_path_distance uses instance hypernyms (Jordan
Boyd-Graber)
- clean_html improved (Bjorn Maeland)
- batch_parse, batch_interpret and batch_evaluate functions allow
grammar or grammar filename as argument
- more Portuguese examples (portuguese_en.doctest, examples/pt.py)
-------------------------------------------------------------------
Thu Dec 10 17:23:51 CST 2009 - oddrationale@gmail.com
@ -8,4 +24,4 @@ Thu Dec 10 17:23:51 CST 2009 - oddrationale@gmail.com
-------------------------------------------------------------------
Wed Dec 9 15:39:35 CST 2009 - oddrationale@gmail.com
- Initial Release (Version 2.0b7):
- Initial Release (Version 2.0b7): Sun Feb 7 18:50:18 CST 2010

View File

@ -1,5 +1,5 @@
#
# spec file for package python-nltk (Version 2.0b7)
# spec file for package python-nltk (Version 2.0b8)
#
# Copyright 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -21,18 +21,16 @@
%define modname nltk
Name: python-nltk
Version: 2.0b7
Version: 2.0b8
Release: 1
License: Apache V2.0
Summary: Natural Language Toolkit
Group: Development/Libraries/Python
Url: http://www.nltk.org/
Source0: nltk-%{version}.tar.bz2
# PATCH-FIX-OPENSUSE python-nltk-remove-yaml.patch
# prevents conflict with python-yaml
Patch0: python-nltk-remove-yaml.patch
%{py_requires}
BuildRequires: python-devel
BuildRequires: python-yaml
BuildRequires: pyxml
BuildRequires: unzip
Requires: python-numpy
@ -56,12 +54,11 @@ development in Natural Language Processing.
Authors:
--------
Steven Bird <sb@csse.unimelb.edu.au>
Edward Loper
Ewan Klein
Edward Loper <edloper@gradient.cis.upenn.edu>
Ewan Klein <ewan@inf.ed.ac.uk>
%prep
%setup -q -n %{modname}-%{version}
%patch0
%build
%{__python} setup.py build