homebrew-core/Formula/stanford-parser.rb
Danny Nemer 5f39e53ba1 stanford-parser 3.3.1
Closes Homebrew/homebrew#28087.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-04-02 23:14:24 +01:00

17 lines
443 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-2014-01-04.zip'
sha1 'ea9fc165c7388b351445711b528511d653c182fe'
version '3.3.1'
def install
libexec.install Dir['*']
bin.write_exec_script Dir["#{libexec}/*.sh"]
end
test do
system "#{bin}/lexparser.sh", "#{libexec}/data/testsent.txt"
end
end