diff options
| author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-02-21 14:13:28 +0000 |
|---|---|---|
| committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-02-21 15:06:09 +0000 |
| commit | a8d209d8ee500b7010cf3f2dada7a97779c80a5c (patch) | |
| tree | a19c26347a66be1455dfe17e5e4da98403d85484 | |
| parent | d9d3c5d1e34b69640aec0e85466cd372c9dcf27c (diff) | |
textproc/py-sense2vec: Add py-sense2vec 2.0.2
sense2vec (Trask et. al, 2015) is a nice twist on word2vec that lets you learn
more interesting and detailed word vectors. This library is a simple Python
implementation for loading, querying and training sense2vec models.
| -rw-r--r-- | textproc/Makefile | 1 | ||||
| -rw-r--r-- | textproc/py-sense2vec/Makefile | 27 | ||||
| -rw-r--r-- | textproc/py-sense2vec/distinfo | 3 | ||||
| -rw-r--r-- | textproc/py-sense2vec/pkg-descr | 3 |
4 files changed, 34 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index d96dde273ada..0f74579122f1 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1552,6 +1552,7 @@ SUBDIR += py-rst2ansi SUBDIR += py-rst2html5 SUBDIR += py-scour + SUBDIR += py-sense2vec SUBDIR += py-sentencepiece SUBDIR += py-simplebayes SUBDIR += py-smartypants diff --git a/textproc/py-sense2vec/Makefile b/textproc/py-sense2vec/Makefile new file mode 100644 index 000000000000..188229e6caf8 --- /dev/null +++ b/textproc/py-sense2vec/Makefile @@ -0,0 +1,27 @@ +PORTNAME= sense2vec +PORTVERSION= 2.0.2 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Contextually-keyed word vectors +WWW= https://github.com/explosion/sense2vec + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}catalogue>=2.0.1<2.1.0:devel/py-catalogue@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>=1.15.0,1:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}spacy>=3.0.0<4.0.0:textproc/py-spacy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}srsly>=2.4.0<3.0.0:devel/py-srsly@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wasabi>=0.8.1<1.2.0:textproc/py-wasabi@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/textproc/py-sense2vec/distinfo b/textproc/py-sense2vec/distinfo new file mode 100644 index 000000000000..eb47949a3e29 --- /dev/null +++ b/textproc/py-sense2vec/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1708448850 +SHA256 (sense2vec-2.0.2.tar.gz) = c7df6f89f74d83ed13c85998fe5792e836f7971e099af955211a6adefabaa768 +SIZE (sense2vec-2.0.2.tar.gz) = 61403 diff --git a/textproc/py-sense2vec/pkg-descr b/textproc/py-sense2vec/pkg-descr new file mode 100644 index 000000000000..70ada035fcf7 --- /dev/null +++ b/textproc/py-sense2vec/pkg-descr @@ -0,0 +1,3 @@ +sense2vec (Trask et. al, 2015) is a nice twist on word2vec that lets you learn +more interesting and detailed word vectors. This library is a simple Python +implementation for loading, querying and training sense2vec models. |
