summaryrefslogtreecommitdiff
path: root/textproc/py-Reverend
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-02-27 02:26:47 +0000
committerminskim <minskim@pkgsrc.org>2004-02-27 02:26:47 +0000
commit5d179db25fb2468b885708135c1da7a7d58af209 (patch)
treeccff436b859ddf9286e0db4eb7af7734d43c6aee /textproc/py-Reverend
parent06eb253be72c8b186048e6af2f7fd91c178f724e (diff)
downloadpkgsrc-5d179db25fb2468b885708135c1da7a7d58af209.tar.gz
Import py-Reverend-0.2.4 from pkgsrc-wip. Packaged by Michal
Pasternak, and modified by me. Reverend is a general purpose Bayesian classifier, named after Rev. Thomas Bayes. Use the Reverend to quickly add Bayesian smarts to your app. To use it in your own application, you either subclass Bayes or pass it a tokenizing function. Bayesian fun has never been so quick and easy.
Diffstat (limited to 'textproc/py-Reverend')
-rw-r--r--textproc/py-Reverend/DESCR12
-rw-r--r--textproc/py-Reverend/Makefile21
-rw-r--r--textproc/py-Reverend/PLIST31
-rw-r--r--textproc/py-Reverend/distinfo4
4 files changed, 68 insertions, 0 deletions
diff --git a/textproc/py-Reverend/DESCR b/textproc/py-Reverend/DESCR
new file mode 100644
index 00000000000..e2d295d67e7
--- /dev/null
+++ b/textproc/py-Reverend/DESCR
@@ -0,0 +1,12 @@
+Reverend is a general purpose Bayesian classifier, named after
+Rev. Thomas Bayes. Use the Reverend to quickly add Bayesian smarts to
+your app. To use it in your own application, you either subclass
+Bayes or pass it a tokenizing function. Bayesian fun has never been so
+quick and easy.
+
+Stuff you can do with the Reverend:
+- classify RSS stories
+- classify recipes by cuisine
+- who do you write like? Shakespeare, Dickens or Austen
+- detect the language of a document
+- is your code more like Guido's or Peter's
diff --git a/textproc/py-Reverend/Makefile b/textproc/py-Reverend/Makefile
new file mode 100644
index 00000000000..6896a2fa006
--- /dev/null
+++ b/textproc/py-Reverend/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/02/27 02:26:47 minskim Exp $
+#
+
+DISTNAME= Reverend-0.2.4
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=reverend/}
+
+MAINTAINER= dotz@irc.pl
+HOMEPAGE= http://www.divmod.org/Reverend/
+COMMENT= General purpose Bayesian classifier
+
+NO_BUILDLINK= yes
+NO_CONFIGURE= yes
+USE_LANGUAGES= # empty
+
+PYDISTUTILSPKG= yes
+PYTHON_VERSIONS_ACCEPTED= 23 23pth
+
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-Reverend/PLIST b/textproc/py-Reverend/PLIST
new file mode 100644
index 00000000000..7abd06276b1
--- /dev/null
+++ b/textproc/py-Reverend/PLIST
@@ -0,0 +1,31 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/27 02:26:47 minskim Exp $
+${PYSITELIB}/reverend/__init__.py
+${PYSITELIB}/reverend/__init__.pyc
+${PYSITELIB}/reverend/__init__.pyo
+${PYSITELIB}/reverend/guessers/__init__.py
+${PYSITELIB}/reverend/guessers/__init__.pyc
+${PYSITELIB}/reverend/guessers/__init__.pyo
+${PYSITELIB}/reverend/guessers/email.py
+${PYSITELIB}/reverend/guessers/email.pyc
+${PYSITELIB}/reverend/guessers/email.pyo
+${PYSITELIB}/reverend/splitter.py
+${PYSITELIB}/reverend/splitter.pyc
+${PYSITELIB}/reverend/splitter.pyo
+${PYSITELIB}/reverend/thomas.py
+${PYSITELIB}/reverend/thomas.pyc
+${PYSITELIB}/reverend/thomas.pyo
+${PYSITELIB}/reverend/ui/__init__.py
+${PYSITELIB}/reverend/ui/__init__.pyc
+${PYSITELIB}/reverend/ui/__init__.pyo
+${PYSITELIB}/reverend/ui/tester.py
+${PYSITELIB}/reverend/ui/tester.pyc
+${PYSITELIB}/reverend/ui/tester.pyo
+${PYSITELIB}/reverend/ui/trainer.py
+${PYSITELIB}/reverend/ui/trainer.pyc
+${PYSITELIB}/reverend/ui/trainer.pyo
+${PYSITELIB}/reverend/ui/util.py
+${PYSITELIB}/reverend/ui/util.pyc
+${PYSITELIB}/reverend/ui/util.pyo
+@dirrm ${PYSITELIB}/reverend/ui
+@dirrm ${PYSITELIB}/reverend/guessers
+@dirrm ${PYSITELIB}/reverend
diff --git a/textproc/py-Reverend/distinfo b/textproc/py-Reverend/distinfo
new file mode 100644
index 00000000000..984f69434e4
--- /dev/null
+++ b/textproc/py-Reverend/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/02/27 02:26:47 minskim Exp $
+
+SHA1 (Reverend-0.2.4.tar.gz) = 4726eb0272c5f99389122e490c2dc10bf3701e83
+Size (Reverend-0.2.4.tar.gz) = 12956 bytes