New port: misc/py-gluonnlp: MXNet-based toolkit to enable easy text, datasets preprocessing

This commit is contained in:
Yuri Victorovich 2019-12-16 06:58:50 +00:00
parent 95f5e3f5f3
commit 2ddd9a264c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=520224
4 changed files with 39 additions and 0 deletions

View file

@ -388,6 +388,7 @@
SUBDIR += py-fuzzy
SUBDIR += py-glance
SUBDIR += py-gluoncv
SUBDIR += py-gluonnlp
SUBDIR += py-huepy
SUBDIR += py-kartograph
SUBDIR += py-molequeue

30
misc/py-gluonnlp/Makefile Normal file
View file

@ -0,0 +1,30 @@
# $FreeBSD$
PORTNAME= gluonnlp
DISTVERSIONPREFIX= v
DISTVERSION= 0.6.0-217
DISTVERSIONSUFFIX= -g394e69a
CATEGORIES= misc # machine-learning
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= MXNet-based toolkit to enable easy text, datasets preprocessing
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
PY_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}mxnet>0:misc/py-mxnet@${PY_FLAVOR}
BUILD_DEPENDS= ${PY_DEPENDS}
RUN_DEPENDS= ${PY_DEPENDS}
USES= python localbase
USE_GITHUB= yes
GH_ACCOUNT= dmlc
GH_PROJECT= gluon-nlp
USE_PYTHON= distutils cython autoplist
post-install:
@${FIND} ${STAGEDIR}${PREFIX} -name "*.so" | ${XARGS} ${STRIP_CMD}
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1576478814
SHA256 (dmlc-gluon-nlp-v0.6.0-217-g394e69a_GH0.tar.gz) = 3de2969dfe8060d18b5cdf58d56e6fd83d1b1fd2ad725a2e2551bb3af0cecb7e
SIZE (dmlc-gluon-nlp-v0.6.0-217-g394e69a_GH0.tar.gz) = 2449993

View file

@ -0,0 +1,5 @@
GluonNLP is a toolkit that enables easy text preprocessing, datasets loading and
neural models building to help you speed up your Natural Language Processing
(NLP) research.
WWW: https://gluon-nlp.mxnet.io/