mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
textproc/py-wordninja: add new port
Probabilistically split concatenated words. PR: 282840
This commit is contained in:
parent
b52db326a6
commit
37e168201c
4 changed files with 35 additions and 0 deletions
|
@ -1700,6 +1700,7 @@
|
||||||
SUBDIR += py-whoosh
|
SUBDIR += py-whoosh
|
||||||
SUBDIR += py-wordcloud
|
SUBDIR += py-wordcloud
|
||||||
SUBDIR += py-wordnet
|
SUBDIR += py-wordnet
|
||||||
|
SUBDIR += py-wordninja
|
||||||
SUBDIR += py-wstools
|
SUBDIR += py-wstools
|
||||||
SUBDIR += py-wtf-peewee
|
SUBDIR += py-wtf-peewee
|
||||||
SUBDIR += py-wtforms
|
SUBDIR += py-wtforms
|
||||||
|
|
29
textproc/py-wordninja/Makefile
Normal file
29
textproc/py-wordninja/Makefile
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
PORTNAME= wordninja
|
||||||
|
PORTVERSION= 2.0.0
|
||||||
|
CATEGORIES= textproc python
|
||||||
|
MASTER_SITES= PYPI
|
||||||
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
|
|
||||||
|
MAINTAINER= matthew@wener.org
|
||||||
|
COMMENT= Probabilistically split concatenated words
|
||||||
|
WWW= https://github.com/keredson/wordninja
|
||||||
|
|
||||||
|
LICENSE= MIT
|
||||||
|
|
||||||
|
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
|
||||||
|
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
||||||
|
|
||||||
|
USES= python
|
||||||
|
USE_PYTHON= autoplist pep517
|
||||||
|
|
||||||
|
NO_ARCH= yes
|
||||||
|
|
||||||
|
PORTDOCS= PKG-INFO
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
|
post-install-DOCS-on:
|
||||||
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
||||||
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
textproc/py-wordninja/distinfo
Normal file
3
textproc/py-wordninja/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1724809518
|
||||||
|
SHA256 (wordninja-2.0.0.tar.gz) = 1a1cc7ec146ad19d6f71941ee82aef3d31221700f0d8bf844136cf8df79d281a
|
||||||
|
SIZE (wordninja-2.0.0.tar.gz) = 541572
|
2
textproc/py-wordninja/pkg-descr
Normal file
2
textproc/py-wordninja/pkg-descr
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
Probabilistically split concatenated words using NLP
|
||||||
|
based on English Wikipedia uni-gram frequencies.
|
Loading…
Add table
Reference in a new issue