diff options
author | obache <obache@pkgsrc.org> | 2010-05-19 12:10:51 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2010-05-19 12:10:51 +0000 |
commit | e6d12e9fc84815a8f65dc76f079b71024c346780 (patch) | |
tree | 7a04764ab9b5cd0669ac2549cb0c1f4986e9fa3a /textproc | |
parent | b819bd226157d75d27f6f3ef8d02016a3060a09a (diff) | |
download | pkgsrc-e6d12e9fc84815a8f65dc76f079b71024c346780.tar.gz |
Import ruby18-yamcha-0.33 as textproc/ruby-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 ruby module for YamCha.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/ruby-yamcha/DESCR | 7 | ||||
-rw-r--r-- | textproc/ruby-yamcha/Makefile | 27 | ||||
-rw-r--r-- | textproc/ruby-yamcha/PLIST | 2 |
3 files changed, 36 insertions, 0 deletions
diff --git a/textproc/ruby-yamcha/DESCR b/textproc/ruby-yamcha/DESCR new file mode 100644 index 00000000000..cb92ae0e55d --- /dev/null +++ b/textproc/ruby-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 ruby module for YamCha. diff --git a/textproc/ruby-yamcha/Makefile b/textproc/ruby-yamcha/Makefile new file mode 100644 index 00000000000..edc80c6d0a3 --- /dev/null +++ b/textproc/ruby-yamcha/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/05/19 12:10:51 obache Exp $ +# + +.include "../../textproc/yamcha/Makefile.common" + +PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} +CATEGORIES+= ruby + +COMMENT= YamCha ruby module + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_LANGUAGES= c c++ + +USE_RUBY_EXTCONF= yes +RUBY_EXTCONF_SUBDIRS= ruby + +YAMCHA_LIBS_CMD= ${BUILDLINK_PREFIX.yamcha}/bin/yamcha-config --libs + +post-extract: + ${SED} -e "s|@YAMCHA_LIBS@|`${YAMCHA_LIBS_CMD}`|g" \ + ${WRKSRC}/ruby/extconf.rb.in > ${WRKSRC}/ruby/extconf.rb + +BUILDLINK_API_DEPENDS.yamcha+= yamcha>=${PKGVERSION_NOREV} +.include "../../textproc/yamcha/buildlink3.mk" +.include "../../lang/ruby/modules.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/ruby-yamcha/PLIST b/textproc/ruby-yamcha/PLIST new file mode 100644 index 00000000000..074e677d3e4 --- /dev/null +++ b/textproc/ruby-yamcha/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/19 12:10:51 obache Exp $ +${RUBY_VENDORARCHLIB}/YamCha.${RUBY_DLEXT} |