2006-11-20 07:26:53 +10:00
|
|
|
# Description: Natural Language Processing Toolkit for Python.
|
|
|
|
# URL: http://nltk.sourceforge.net/
|
2007-01-20 12:21:06 +10:00
|
|
|
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
|
|
|
|
# Packager: James Mills, prologic at shortcircuit dot net dot au
|
2006-11-14 09:13:35 +10:00
|
|
|
#
|
2006-11-20 07:26:53 +10:00
|
|
|
# Depends on: numarray, pywordnet
|
2006-11-14 09:13:35 +10:00
|
|
|
|
|
|
|
name=nltk_lite
|
|
|
|
version=0.6.4
|
2007-03-24 22:54:16 +10:00
|
|
|
release=2
|
2006-11-14 09:13:35 +10:00
|
|
|
source=(http://dl.sourceforge.net/nltk/$name-$version.tar.gz \
|
2006-11-20 07:26:53 +10:00
|
|
|
http://dl.sourceforge.net/nltk/$name-corpora-$version.zip)
|
2006-11-14 09:13:35 +10:00
|
|
|
|
|
|
|
build() {
|
2006-11-20 07:26:53 +10:00
|
|
|
cd $name-$version
|
|
|
|
python setup.py install --root=$PKG
|
|
|
|
mkdir -p $PKG/usr/share/$name
|
|
|
|
mv $SRC/corpora $PKG/usr/share/$name
|
|
|
|
chown -R root:root $PKG
|
2006-11-14 09:13:35 +10:00
|
|
|
}
|