Ruby LinkParser
A high-level interface to the CMU Link Grammar.
This binding wraps the link-grammar shared library provided by the AbiWord project for their grammar-checker. It requires at least version 4.4.1, but is tested against the latest version.
The API documentation has specific details.
For a complete list of local wiki pages, see TitleIndex.
Downloads
- RubyGem: linkparser-1.0.4.gem (66.00 k)
- Tar+Bzip2: linkparser-1.0.4.tar.bz2 (55.64 k)
- Tar+Gzip: linkparser-1.0.4.tar.gz (63.85 k)
- Zip: linkparser-1.0.4.zip (78.84 k)
- RubyGem: linkparser-1.0.5.gem (66.50 k)
- Tar+Bzip2: linkparser-1.0.5.tar.bz2 (55.83 k)
- Tar+Gzip: linkparser-1.0.5.tar.gz (64.07 k)
- Zip: linkparser-1.0.5.zip (79.00 k)
Development Source
You can check out the development source via Subversion:
Build Instructions
These instructions assume a UNIX or UNIX-like environment. I've built it on
MacOS X, FreeBSD 7.x, and Ubuntu Linux. I'm not sure how to get this to build
under Windows, as I don't have a Windows license with which to test it.
Suggestions welcomed.
First, you'll need to install the Abiword link-grammar library that comes with
this source (or download it yourself if you wish):
$ tar -xvzf link-grammar-4.5.7.tar.gz
$ cd link-grammar-4.5.7
$ ./configure; make; sudo make install
$ cd ..
Now build, test, and install the Ruby library:
$ rake
$ sudo rake install
If you've installed the link-grammar library someplace that isn't in your
regular include path, you might have to tell the build system where to look:
$ rake -- --with-link-grammar-dir=/usr/local
Under MacOS X, unless you've taken extra steps to compile the link-grammar
library as a universal binary, you'll probably also have to limit it to
your machine's architecture:
$ ARCHFLAGS="-arch i386" rake -- --with-link-grammar-dir=/usr/local
That's it!
Trac
This project is managed using Trac, an excellent Open Source project tracker. For more information, see:
- TracGuide -- Built-in Documentation
- The Trac project -- Trac Open Source Project
- Trac FAQ -- Frequently Asked Questions
- TracSupport -- Trac Support
