1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

New port: textproc/py-simplebayes: Memory-based, optional-persistence naïve bayesian text classifier

This commit is contained in:
Yuri Victorovich 2018-07-28 19:31:48 +00:00
parent e40ef78602
commit 2f8af151b2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=475606
4 changed files with 30 additions and 0 deletions

View File

@ -1392,6 +1392,7 @@
SUBDIR += py-rxp
SUBDIR += py-scour
SUBDIR += py-sgrep
SUBDIR += py-simplebayes
SUBDIR += py-snowballstemmer
SUBDIR += py-sparqlwrapper
SUBDIR += py-sphinx

View File

@ -0,0 +1,22 @@
# $FreeBSD$
PORTNAME= simplebayes
PORTVERSION= 1.5.8
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Memory-based, optional-persistence naïve bayesian text classifier
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes
post-extract: # https://github.com/hickeroar/simplebayes/issues/3
@truncate -s 0 ${WRKSRC}/README.rst
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1532798910
SHA256 (simplebayes-1.5.8.tar.gz) = 363418c0ef185ac2158ebbd6d8afb45aa997254fcb809a73ed20a7d5dccf8b85
SIZE (simplebayes-1.5.8.tar.gz) = 5972

View File

@ -0,0 +1,4 @@
simplebayes allows to train the classifier, save the training data
in cache, and later use this data to classify text.
WWW: https://github.com/hickeroar/simplebayes