libraries/nltk: Updated for version 3.1 + new maintainer.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
ArTourter 2015-11-05 00:41:46 +07:00 committed by Willy Sudiarto Raharjo
parent 4d0bc5f752
commit c0194da9ac
3 changed files with 13 additions and 11 deletions

View File

@ -3,5 +3,7 @@ and development in natural language processing, supporting dozens of NLP
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".
list is posted at: http://nltk.org/nltk_data/. To retrieve all the data, use
"python -m nltk.downloader all". To ensure system wideinstallation, you can
run the command "python -m nltk.downloader -d /usr/share/nltk_data all" as
root.

View File

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=nltk
VERSION=2.0.1rc1
VERSION=${VERSION:-3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -40,7 +40,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
DOCS="LICENSE.txt PKG-INFO README.txt"
DOCS="LICENSE.txt PKG-INFO INSTALL.txt"
set -e
@ -48,7 +48,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
unzip $CWD/$PRGNAM-$VERSION.zip
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .

View File

@ -1,10 +1,10 @@
PRGNAM="nltk"
VERSION="2.0.1rc1"
VERSION="3.1"
HOMEPAGE="http://www.nltk.org/"
DOWNLOAD="http://nltk.googlecode.com/files/nltk-2.0.1rc1.zip"
MD5SUM="72f745eefd659aea23a44bf1e47e7b9d"
DOWNLOAD="https://pypi.python.org/packages/source/n/nltk/nltk-3.1.tar.gz"
MD5SUM="05aa744cd17e21fb545681a06a265c36"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jdk PyYAML"
MAINTAINER="Marco Bonetti"
EMAIL="sid77@slackware.it"
REQUIRES="pysetuptools"
MAINTAINER="ArTourter"
EMAIL="artourter@gmail.com"