libraries/nltk: Updated for version 2.0.1rc1.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Marco Bonetti 2011-09-07 23:13:11 -04:00 committed by Niels Horn
parent 97d35b46bc
commit f640bfb857
4 changed files with 12 additions and 12 deletions

View file

@ -5,3 +5,5 @@ tasks, with distributions for Windows, Mac OSX and Linux.
NLTK comes with many corpora, toy grammars, trained models, etc. A complete
list is posted at: http://nltk.googlecode.com/svn/trunk/nltk_data/index.xml
To retrieve all the data, use "python -m nltk.downloader all".
This package requires PyYAML.

View file

@ -2,7 +2,7 @@
# Slackware build script for nltk.
#
# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it>
# Copyright 2009-2011 Marco Bonetti <sid77@slackware.it>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=nltk
VERSION=0.9.8
VERSION=2.0.1rc1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@ -48,9 +46,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
cd $TMP
rm -rf $PRGNAM-$VERSION
tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz
unzip $CWD/$PRGNAM-$VERSION.zip
cd $PRGNAM-$VERSION
chown -R root:root .

View file

@ -1,8 +1,8 @@
PRGNAM="nltk"
VERSION="0.9.8"
VERSION="2.0.1rc1"
HOMEPAGE="http://www.nltk.org/"
DOWNLOAD="http://nltk.googlecode.com/files/nltk-0.9.8.tar.gz"
MD5SUM="954f614754a0d7cb58c83b5ec485ddda"
DOWNLOAD="http://nltk.googlecode.com/files/nltk-2.0.1rc1.zip"
MD5SUM="72f745eefd659aea23a44bf1e47e7b9d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Marco Bonetti"

View file

@ -8,9 +8,9 @@
|-----handy-ruler------------------------------------------------------|
nltk: nltk (Natural Language ToolKit)
nltk:
nltk: Open source Python modules, linguistic data and documentation for
nltk: research and development in natural language processing, supporting
nltk: dozens of NLP tasks, with distributions for Windows, Mac OSX and
nltk: Open source Python modules, linguistic data and documentation for
nltk: research and development in natural language processing, supporting
nltk: dozens of NLP tasks, with distributions for Windows, Mac OSX and
nltk: Linux.
nltk:
nltk: