diff options
author | obache <obache@pkgsrc.org> | 2010-05-19 12:08:02 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2010-05-19 12:08:02 +0000 |
commit | b281a7f51536ac469899346911843abb695d5914 (patch) | |
tree | 36beb50cd5123899f9d39c4994700822b2556c9f | |
parent | a4e28817276f73fdf171e16c8864665b13fe2f14 (diff) | |
download | pkgsrc-b281a7f51536ac469899346911843abb695d5914.tar.gz |
Import yamcha-0.33 as textproc/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.
YamCha is exactly the same system which performed the best in the CoNLL2000
Shared Task, Chunking and BaseNP Chunking task.
-rw-r--r-- | textproc/yamcha/DESCR | 8 | ||||
-rw-r--r-- | textproc/yamcha/Makefile | 23 | ||||
-rw-r--r-- | textproc/yamcha/Makefile.common | 15 | ||||
-rw-r--r-- | textproc/yamcha/PLIST | 20 | ||||
-rw-r--r-- | textproc/yamcha/buildlink3.mk | 14 | ||||
-rw-r--r-- | textproc/yamcha/distinfo | 5 |
6 files changed, 85 insertions, 0 deletions
diff --git a/textproc/yamcha/DESCR b/textproc/yamcha/DESCR new file mode 100644 index 00000000000..96f3b906c49 --- /dev/null +++ b/textproc/yamcha/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. + +YamCha is exactly the same system which performed the best in the CoNLL2000 +Shared Task, Chunking and BaseNP Chunking task. diff --git a/textproc/yamcha/Makefile b/textproc/yamcha/Makefile new file mode 100644 index 00000000000..423d2fd0514 --- /dev/null +++ b/textproc/yamcha/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/05/19 12:08:02 obache Exp $ +# + +.include "Makefile.common" + +CATEGORIES= devel + +COMMENT= Yet Another Multipurpose CHunk Annotator + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_LANGUAGES= c c++ +USE_TOOLS+= perl:run + +CONFIGURE_ARGS+= --with-perl5=${PERL5:Q} +CONFIGURE_ARGS+= --with-svm-learn=${BUILDLINK_PREFIX.TinySVM}/bin/svm_learn + +TEST_TARGET= check + +.include "../../math/TinySVM/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/yamcha/Makefile.common b/textproc/yamcha/Makefile.common new file mode 100644 index 00000000000..55867a7c677 --- /dev/null +++ b/textproc/yamcha/Makefile.common @@ -0,0 +1,15 @@ +# $NetBSD: Makefile.common,v 1.1.1.1 2010/05/19 12:08:02 obache Exp $ +# used by textproc/p5-yamcha/Makefile +# used by textproc/py-yamcha/Makefile +# used by textproc/ruby-yamcha/Makefile + +DISTNAME= yamcha-0.33 +CATEGORIES= textproc +MASTER_SITES= http://www.chasen.org/~taku/software/yamcha/src/ + +DISTINFO_FILE= ${.CURDIR}/../../textproc/yamcha/distinfo +PATCHDIR= ${.CURDIR}/../../textproc/yamcha/patches + +MAINTAINER?= obache@NetBSD.org +HOMEPAGE= http://www.chasen.org/~taku/software/yamcha/ +LICENSE= gnu-lgpl-v2.1 diff --git a/textproc/yamcha/PLIST b/textproc/yamcha/PLIST new file mode 100644 index 00000000000..3fa3d2f9ac9 --- /dev/null +++ b/textproc/yamcha/PLIST @@ -0,0 +1,20 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/19 12:08:02 obache Exp $ +bin/yamcha +bin/yamcha-config +bin/yamcha-mkmodel +include/yamcha.h +lib/libyamcha.la +libexec/yamcha/Makefile +libexec/yamcha/PKE.pm +libexec/yamcha/PKI.pm +libexec/yamcha/mkdarts +libexec/yamcha/mkmodel +libexec/yamcha/mkparam +libexec/yamcha/mksvmdata +libexec/yamcha/mktrie +libexec/yamcha/pkemine +libexec/yamcha/selecttag +libexec/yamcha/showse +libexec/yamcha/svm_learn_wrapper +libexec/yamcha/zipmodel +man/man1/yamcha.1 diff --git a/textproc/yamcha/buildlink3.mk b/textproc/yamcha/buildlink3.mk new file mode 100644 index 00000000000..f0fe78df6d3 --- /dev/null +++ b/textproc/yamcha/buildlink3.mk @@ -0,0 +1,14 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/05/19 12:08:02 obache Exp $ + +BUILDLINK_TREE+= yamcha + +.if !defined(YAMCHA_BUILDLINK3_MK) +YAMCHA_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.yamcha+= yamcha>=0.33 +BUILDLINK_PKGSRCDIR.yamcha?= ../../textproc/yamcha + +.include "../../math/TinySVM/buildlink3.mk" +.endif # YAMCHA_BUILDLINK3_MK + +BUILDLINK_TREE+= -yamcha diff --git a/textproc/yamcha/distinfo b/textproc/yamcha/distinfo new file mode 100644 index 00000000000..0e8897ae1e7 --- /dev/null +++ b/textproc/yamcha/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/05/19 12:08:02 obache Exp $ + +SHA1 (yamcha-0.33.tar.gz) = 4ee6d8150557761f86fcb8af118636b7c23920c0 +RMD160 (yamcha-0.33.tar.gz) = ac21fa16a45efa40775d426cd6229f612a7aa21e +Size (yamcha-0.33.tar.gz) = 488670 bytes |