summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorobache <obache>2010-05-19 12:10:10 +0000
committerobache <obache>2010-05-19 12:10:10 +0000
commit998063239f0f498b5b73b18c4a12013505e4e63d (patch)
tree0751852837f3a55c5623d85c5f5f0587d6ecdf20 /textproc
parent963d2d051a321ff9eb08487076191c3359c0602a (diff)
downloadpkgsrc-998063239f0f498b5b73b18c4a12013505e4e63d.tar.gz
Import py26-yamcha-0.33 as textproc/py-yamcha.
YamCha is a generic, customizable, and open source text chunker oriented toward a lot of NLP tasks, such as POS tagging, Named Entity Recognition, base NP chunking, and Text Chunking. YamCha is using a state-of-the-art machine learning algorithm called Support Vector Machines (SVMs), first introduced by Vapnik in 1995. This package is python module for YamCha.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-yamcha/DESCR7
-rw-r--r--textproc/py-yamcha/Makefile21
-rw-r--r--textproc/py-yamcha/PLIST5
3 files changed, 33 insertions, 0 deletions
diff --git a/textproc/py-yamcha/DESCR b/textproc/py-yamcha/DESCR
new file mode 100644
index 00000000000..e9ee5afc6b8
--- /dev/null
+++ b/textproc/py-yamcha/DESCR
@@ -0,0 +1,7 @@
+YamCha is a generic, customizable, and open source text chunker oriented toward
+a lot of NLP tasks, such as POS tagging, Named Entity Recognition, base NP
+chunking, and Text Chunking. YamCha is using a state-of-the-art machine learning
+algorithm called Support Vector Machines (SVMs), first introduced by Vapnik in
+1995.
+
+This package is python module for YamCha.
diff --git a/textproc/py-yamcha/Makefile b/textproc/py-yamcha/Makefile
new file mode 100644
index 00000000000..34d71d0f792
--- /dev/null
+++ b/textproc/py-yamcha/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/05/19 12:10:10 obache Exp $
+#
+
+.include "../../textproc/yamcha/Makefile.common"
+
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES+= python
+
+COMMENT= YamCha python module
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= c c++
+
+PYDISTUTILSPKG= yes
+PYSETUPSUBDIR= python
+
+BUILDLINK_API_DEPENDS.yamcha+= yamcha>=${PKGVERSION_NOREV}
+.include "../../textproc/yamcha/buildlink3.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-yamcha/PLIST b/textproc/py-yamcha/PLIST
new file mode 100644
index 00000000000..2fefc065f4a
--- /dev/null
+++ b/textproc/py-yamcha/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/19 12:10:10 obache Exp $
+${PYSITELIB}/YamCha.py
+${PYSITELIB}/YamCha.pyc
+${PYSITELIB}/YamCha.pyo
+${PYSITELIB}/_YamCha.so