# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 83754 2011-09-10 16:43:14Z hum@macports.org $ PortSystem 1.0 name yamcha version 0.33 categories textproc math platforms darwin maintainers hum openmaintainer license LGPL-2.1 description Yet Another Multipurpose CHunk Annotator long_description 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. homepage http://www.chasen.org/~taku/software/yamcha/ master_sites ${homepage}src/ checksums sha1 4ee6d8150557761f86fcb8af118636b7c23920c0 \ rmd160 ac21fa16a45efa40775d426cd6229f612a7aa21e depends_lib port:perl5 \ port:TinySVM patchfiles patch-configure.in.diff # respect build_arch / universal_archs when building dylib if {[variant_isset universal]} { use_autoreconf yes } configure.args --with-svm-learn=${prefix}/bin/svm_learn test.run yes test.target check livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex ${name}-(\[0-9.\]+)\\.