aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorTryn Mirell2011-10-23 21:58:57 -0500
committerAdam Vandenberg2012-01-29 17:33:04 -0800
commitdf82af79dbdacba9f955e480eecdcace0f035de7 (patch)
tree933cec8d06953b573f512f1c8e3ce0ee4b856342 /Library
parentcf00ed294a2899db1cd0fc522e2d8522e874a65e (diff)
downloadhomebrew-df82af79dbdacba9f955e480eecdcace0f035de7.tar.bz2
link-grammar 4.7.4
The Link Grammar Parser is a syntactic parser of English (and other languages as well), based on link grammar, an original theory of English syntax. Given a sentence, the system assigns to it a syntactic structure, which consists of a set of labelled links connecting pairs of words. The parser also produces a "constituent" (Penn tree-bank style phrase tree) representation of a sentence (showing noun phrases, verb phrases, etc.). The RelEx extension provides dependency-parse output. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/link-grammar.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/link-grammar.rb b/Library/Formula/link-grammar.rb
new file mode 100644
index 000000000..7d64bc502
--- /dev/null
+++ b/Library/Formula/link-grammar.rb
@@ -0,0 +1,19 @@
+require 'formula'
+
+class LinkGrammar < Formula
+ url 'http://www.abisource.com/downloads/link-grammar/4.7.4/link-grammar-4.7.4.tar.gz'
+ homepage 'http://www.abisource.com/projects/link-grammar/'
+ md5 'e90e702a953641713a1292db20677bd2'
+
+ depends_on 'pkg-config' => :build
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+
+ def test
+ system "link-parser", "--version"
+ end
+end