1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

textproc/py-nltk: update to 3.4.1

Changelog:
+  Add chomsky_normal_form for CFGs
+  Add meteor score
+  Add minimum edit/Levenshtein distance based alignment function
+  Allow access to collocation list via text.collocation_list()
+  Support corenlp server options
+  Drop support for Python 3.4
+  Other minor fixes

PR:	    237583
Approved by:	demon (maintainer)
This commit is contained in:
Ruslan Makhmatkhanov 2019-04-26 15:24:04 +00:00
parent a492cdfe88
commit e8795860da
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500115
2 changed files with 7 additions and 11 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= nltk
PORTVERSION= 3.4
DISTVERSION= 3.4.1
PORTEPOCH= 2
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
@ -17,15 +17,11 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>=3.09:devel/py-yaml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR}
py27_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}singledispatch>0:devel/py-singledispatch@${PY_FLAVOR}
USES= python zip
USE_PYTHON= distutils autoplist
NO_ARCH= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3400
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}singledispatch>0:devel/py-singledispatch@${PY_FLAVOR}
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1552416797
SHA256 (nltk-3.4.zip) = 286f6797204ffdb52525a1d21ec0a221ec68b8e3fa4f2d25f412ac8e63c70e8d
SIZE (nltk-3.4.zip) = 1432008
TIMESTAMP = 1556290025
SHA256 (nltk-3.4.1.zip) = 3a64b1cb685bbf344adec416871fee07996671c876ff313b3e504158fa1500e1
SIZE (nltk-3.4.1.zip) = 3058404