From df82af79dbdacba9f955e480eecdcace0f035de7 Mon Sep 17 00:00:00 2001 From: Tryn Mirell Date: Sun, 23 Oct 2011 21:58:57 -0500 Subject: 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 --- Library/Formula/link-grammar.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Library/Formula/link-grammar.rb (limited to 'Library/Formula') 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 -- cgit v1.2.3