summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-05-19 12:37:04 +0000
committerobache <obache@pkgsrc.org>2010-05-19 12:37:04 +0000
commit550241e405e9a2b79e790424b6fe8adfb8040900 (patch)
tree21519b3de2ff9f537c5a7497934a50cd97e180a5 /textproc
parent2a8862d404b5c33d7d556200b1fc1e9a62d867be (diff)
downloadpkgsrc-550241e405e9a2b79e790424b6fe8adfb8040900.tar.gz
Import py-cabocha-0.53 as textproc/py-cabocha.
CaboCha is a Japanese dependency analysis machine based on Support Vector Machines. It is (89.29%) system that accuracy is the highest as a statistical Japanese dependency analysis machine as of June, 2001. Moreover, definite analytical algorithm (Cascaded Chunking Model) that doesn't do back-track is adopted, and an efficient analysis can be done comparatively. This package is python module for CaboCha.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-cabocha/DESCR7
-rw-r--r--textproc/py-cabocha/Makefile21
-rw-r--r--textproc/py-cabocha/PLIST5
3 files changed, 33 insertions, 0 deletions
diff --git a/textproc/py-cabocha/DESCR b/textproc/py-cabocha/DESCR
new file mode 100644
index 00000000000..3cb567bfb7b
--- /dev/null
+++ b/textproc/py-cabocha/DESCR
@@ -0,0 +1,7 @@
+CaboCha is a Japanese dependency analysis machine based on Support Vector
+Machines. It is (89.29%) system that accuracy is the highest as a statistical
+Japanese dependency analysis machine as of June, 2001. Moreover, definite
+analytical algorithm (Cascaded Chunking Model) that doesn't do back-track is
+adopted, and an efficient analysis can be done comparatively.
+
+This package is python module for CaboCha.
diff --git a/textproc/py-cabocha/Makefile b/textproc/py-cabocha/Makefile
new file mode 100644
index 00000000000..1af1c6d1c23
--- /dev/null
+++ b/textproc/py-cabocha/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/05/19 12:37:04 obache Exp $
+#
+
+.include "../../textproc/cabocha/Makefile.common"
+
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES+= python
+
+COMMENT= CaboCha python module
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= c c++
+
+PYDISTUTILSPKG= yes
+PYSETUPSUBDIR= python
+
+BUILDLINK_API_DEPENDS.cabocha+= cabocha>=${PKGVERSION_NOREV}
+.include "../../textproc/cabocha/buildlink3.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-cabocha/PLIST b/textproc/py-cabocha/PLIST
new file mode 100644
index 00000000000..1fbd5db8e1b
--- /dev/null
+++ b/textproc/py-cabocha/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/19 12:37:04 obache Exp $
+${PYSITELIB}/CaboCha.py
+${PYSITELIB}/CaboCha.pyc
+${PYSITELIB}/CaboCha.pyo
+${PYSITELIB}/_CaboCha.so