homebrew-core/Formula/stanford-parser.rb
Roger Que 3c3f8e92c3 stanford-parser 3.2.0
Closes Homebrew/homebrew#24001.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-11-05 20:53:44 +00:00

17 lines
444 B
Ruby

require 'formula'
class StanfordParser < Formula
homepage 'http://nlp.stanford.edu/software/lex-parser.shtml'
url 'http://nlp.stanford.edu/software/stanford-parser-full-2013-06-20.zip'
sha1 'd22f3350b608e905e432b9278a5fa85c380cac30'
version '3.2.0'
def install
libexec.install Dir['*']
bin.write_exec_script Dir["#{libexec}/*.sh"]
end
def test
system "#{bin}/lexparser.sh", "#{libexec}/data/testsent.txt"
end
end