2014-02-02 23:36:29 +00:00
|
|
|
require "formula"
|
|
|
|
|
|
|
|
class ApacheOpennlp < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Machine learning toolkit for processing natural language text"
|
2014-02-02 23:36:29 +00:00
|
|
|
homepage "http://opennlp.apache.org/"
|
2014-09-19 00:05:33 +00:00
|
|
|
url "http://www.apache.org/dyn/closer.cgi?path=opennlp/opennlp-1.5.3/apache-opennlp-1.5.3-bin.tar.gz"
|
|
|
|
mirror "http://www.us.apache.org/dist/opennlp/opennlp-1.5.3/apache-opennlp-1.5.3-bin.tar.gz"
|
2014-02-02 23:36:29 +00:00
|
|
|
sha1 "e14b41a4f1f1ae7fd12713bbdd8452b367bfdc9e"
|
|
|
|
|
|
|
|
def install
|
|
|
|
prefix.install_metafiles
|
|
|
|
libexec.install Dir['*']
|
|
|
|
|
|
|
|
bin.write_exec_script libexec/'bin/opennlp'
|
|
|
|
end
|
|
|
|
end
|