aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-08-03 03:03:18 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-08-03 03:03:18 +0000
commitadcd8a85aa7e3bb80da899ae2869246088656e0b (patch)
tree2e7ba490025c415a5a7ce1ba7f381a9388d165f3 /textproc
parent669669ba123375912631fc4fdf6b614da9d3d815 (diff)
downloadports-adcd8a85aa7e3bb80da899ae2869246088656e0b.tar.gz
ports-adcd8a85aa7e3bb80da899ae2869246088656e0b.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/yamcha/Makefile38
-rw-r--r--textproc/yamcha/distinfo3
-rw-r--r--textproc/yamcha/pkg-descr8
-rw-r--r--textproc/yamcha/pkg-plist23
5 files changed, 73 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 1074aff2d299..89b8fd48ca73 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -931,6 +931,7 @@
SUBDIR += xt
SUBDIR += xxdiff
SUBDIR += y2l
+ SUBDIR += yamcha
SUBDIR += yi-aspell
SUBDIR += yodl
SUBDIR += zu-aspell
diff --git a/textproc/yamcha/Makefile b/textproc/yamcha/Makefile
new file mode 100644
index 000000000000..a2d3cfe94f43
--- /dev/null
+++ b/textproc/yamcha/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: yamcha
+# Date created: Aug 3, 2006
+# Whom: Cheng-Lung Sung <clsung@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= yamcha
+PORTVERSION= 0.33
+CATEGORIES= textproc science
+MASTER_SITES= http://chasen.org/~taku/software/yamcha/src/
+
+MAINTAINER= clsung@FreeBSD.org
+COMMENT= Yet Another Multipurpose CHunk Annotator
+
+BUILD_DEPENDS= svm_learn:${PORTSDIR}/science/svmlight
+
+GNU_CONFIGURE= yes
+INSTALLS_SHLIB= yes
+DOC_FILES= feature.png feature2.png feature3.png \
+ feature4.png feature5.png index.html \
+ yamcha.html yamcha.css
+
+MAN1= yamcha.1
+
+.if !defined(NOPORTDOCS)
+post-install:
+ @${MKDIR} ${DOCSDIR}
+.for doc in ${DOC_FILES}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${DOCSDIR}
+.endfor
+ @${FIND} -s ${DOCSDIR} -type f | \
+ ${SED} -e 's|^${PREFIX}/||' >> ${TMPPLIST}
+ @${FIND} -s ${DOCSDIR} -type d | \
+ ${SED} -e 's|^${PREFIX}/|@dirrm |' >> ${TMPPLIST}
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/yamcha/distinfo b/textproc/yamcha/distinfo
new file mode 100644
index 000000000000..68cadda7ff27
--- /dev/null
+++ b/textproc/yamcha/distinfo
@@ -0,0 +1,3 @@
+MD5 (yamcha-0.33.tar.gz) = 187ab0b6804941dfdaa21fe28f0b6ffd
+SHA256 (yamcha-0.33.tar.gz) = 413d4fc0a4c13895f5eb1468e15c9d2828151882f27aea4daf2399c876be27d5
+SIZE (yamcha-0.33.tar.gz) = 488670
diff --git a/textproc/yamcha/pkg-descr b/textproc/yamcha/pkg-descr
new file mode 100644
index 000000000000..381af4165c76
--- /dev/null
+++ b/textproc/yamcha/pkg-descr
@@ -0,0 +1,8 @@
+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.
+
+WWW: http://chasen.org/~taku/software/yamcha/
diff --git a/textproc/yamcha/pkg-plist b/textproc/yamcha/pkg-plist
new file mode 100644
index 000000000000..f61562a10ade
--- /dev/null
+++ b/textproc/yamcha/pkg-plist
@@ -0,0 +1,23 @@
+@comment $FreeBSD$
+bin/yamcha
+bin/yamcha-config
+bin/yamcha-mkmodel
+include/yamcha.h
+lib/libyamcha.so.3
+lib/libyamcha.so
+lib/libyamcha.la
+lib/libyamcha.a
+libexec/yamcha/mkdarts
+libexec/yamcha/mktrie
+libexec/yamcha/pkemine
+libexec/yamcha/mkmodel
+libexec/yamcha/mksvmdata
+libexec/yamcha/svm_learn_wrapper
+libexec/yamcha/mkparam
+libexec/yamcha/showse
+libexec/yamcha/zipmodel
+libexec/yamcha/selecttag
+libexec/yamcha/PKI.pm
+libexec/yamcha/PKE.pm
+libexec/yamcha/Makefile
+@dirrm libexec/yamcha