mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
46 lines
1.5 KiB
Tcl
46 lines
1.5 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
|
|
name yamcha
|
|
version 0.33
|
|
categories textproc math
|
|
maintainers nomaintainer
|
|
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
|
|
|
|
post-extract {
|
|
move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac
|
|
}
|
|
|
|
patchfiles patch-configure.ac.diff
|
|
|
|
use_autoreconf yes
|
|
autoreconf.args -fvi
|
|
|
|
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.\]+)\\.
|