- add New port nltk-lite, which is lightweight version of NLTK

This commit is contained in:
Cheng-Lung Sung 2005-11-26 03:54:01 +00:00
parent ac94c20eb3
commit 837ca6f4dc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=149535
4 changed files with 45 additions and 0 deletions

View File

@ -268,6 +268,7 @@
SUBDIR += nl-aspell
SUBDIR += nl-ispell
SUBDIR += nltk
SUBDIR += nltk_lite
SUBDIR += nn-aspell
SUBDIR += nunnimcax
SUBDIR += nux

View File

@ -0,0 +1,30 @@
# ex:ts=8
# Ports collection makefile for: nltk_lite
# Date created: Sat Nov 26 11:13:22 CST 2005
# Whom: clsung
#
# $FreeBSD$
#
PORTNAME= nltk_lite
PORTVERSION= 0.5
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME:C/_.*//}
MAINTAINER= clsung@FreeBSD.org
COMMENT= Lightweight Natural language toolkit written in python
USE_PYTHON= 2.4+
USE_PYDISTUTILS= yes
USE_PYTHON_PREFIX= yes
.include <bsd.port.pre.mk>
post-install:
@${FIND} ${PYTHON_SITELIBDIR}/nltk_lite ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${PYTHON_SITELIBDIR}/nltk_lite -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (nltk_lite-0.5.tar.gz) = 9f126b59ac7f5e86690c7d52c93aaa22
SHA256 (nltk_lite-0.5.tar.gz) = aec8493fe386795fc834c558b95dbd3adc7ff486d761c61b8410ca3ddd132f65
SIZE (nltk_lite-0.5.tar.gz) = 216772

View File

@ -0,0 +1,11 @@
NLTK-Lite is a new collection of lightweight NLP modules designed for
maximum simplicity and efficiency. NLTK-Lite only covers the simple
variants of standard data structures and tasks. Simplicity and
efficiency are valued over generality and extensibility.
NLTK-Lite is primarily intended to facilitate teaching NLP to students
having limited programming experience. The focus is on teaching Python
together with the help of NLP recipes, instead of teaching students to
use a large set of specialized classes that lock them in to using NLTK.
WWW: http://nltk.sourceforge.net/