From adcd8a85aa7e3bb80da899ae2869246088656e0b Mon Sep 17 00:00:00 2001 From: Cheng-Lung Sung Date: Thu, 3 Aug 2006 03:03:18 +0000 Subject: - YamCha is a generic, customizable, and open source text chunker oriented toward a lot of NLP tasks. --- textproc/yamcha/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ textproc/yamcha/distinfo | 3 +++ textproc/yamcha/pkg-descr | 8 ++++++++ textproc/yamcha/pkg-plist | 23 +++++++++++++++++++++++ 4 files changed, 72 insertions(+) create mode 100644 textproc/yamcha/Makefile create mode 100644 textproc/yamcha/distinfo create mode 100644 textproc/yamcha/pkg-descr create mode 100644 textproc/yamcha/pkg-plist (limited to 'textproc/yamcha') 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 +# +# $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 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 -- cgit v1.2.3