bc09b76a08
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. Closes Homebrew/homebrew#13815. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
16 lines
462 B
Ruby
16 lines
462 B
Ruby
require 'formula'
|
|
|
|
class Yamcha < Formula
|
|
homepage 'http://chasen.org/~taku/software/yamcha/'
|
|
url 'http://chasen.org/~taku/software/yamcha/src/yamcha-0.33.tar.gz'
|
|
sha1 '4ee6d8150557761f86fcb8af118636b7c23920c0'
|
|
|
|
depends_on "tinysvm"
|
|
|
|
def install
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--mandir=#{man}"
|
|
system "make install"
|
|
end
|
|
end
|