macOS
brew install link-grammarlocal Homebrew formula metadata
sudo port install link-grammarMacPorts ports tree · textproc/link-grammar/Portfile · source: api.github.com
brew
Carnegie Mellon University's link grammar parser. Version 5.13.0 via Homebrew; verified from local package data.
install
brew install link-grammarlocal Homebrew formula metadata
sudo port install link-grammarMacPorts ports tree · textproc/link-grammar/Portfile · source: api.github.com
sudo apt install liblink-grammar-devDebian stable package indexes · liblink-grammar-dev · source: deb.debian.org
sudo dnf install link-grammarFedora Rawhide package metadata · link-grammar · source: dl.fedoraproject.org
nix profile install nixpkgs#link-grammarnixpkgs package indexes · pkgs/by-name/li/link-grammar/package.nix · source: api.github.com
sudo pacman -S link-grammarArch Linux sync databases · link-grammar · source: geo.mirror.pkgbuild.com
sudo zypper install liblink-grammar5openSUSE Tumbleweed package metadata · liblink-grammar5 · source: download.opensuse.org
overview
Carnegie Mellon University's link grammar parser
history
Link Grammar is the CMU Link Grammar natural-language parser packaged as libraries, dictionaries, and command-line tools. It turns sentences into graph-like typed links between words, with conversions to more conventional phrase-structure and dependency views.
The theory was developed in 1991 by Davy Temperley, John Lafferty, and Daniel Sleator at Carnegie Mellon University. The project's README points to the original 1991 CMU technical report, a 1993 parsing workshop paper, and a 1995 robust parsing paper as the foundational publications.
The modern package is a continuation of the original CMU parser but has diverged substantially from the early code base. The README describes major engineering evolution: extensive bug fixes, orders-of-magnitude performance work, full multithreading, UTF-8 support, security cleanup for cloud deployment, improved English coverage, and added languages including Thai and Russian.
Link Grammar has persisted as a niche but long-lived NLP package because it combines an academic grammar formalism with runnable dictionaries and a small interactive parser. Its presence in Unix package managers keeps the CMU parser available for experiments, symbolic NLP systems, dictionary work, and regression tests even as statistical and neural NLP methods became dominant.
The package includes language dictionaries, APIs for multiple programming languages, and command-line tools such as link-parser and link-generator. The interactive parser is useful for inspecting linkages and costs by hand, while the library form lets other NLP systems consume the parser programmatically.
Link Grammar is package-nerd catnip because it is an old academic parser that still builds as a normal Unix package. It carries dictionaries, generated data, C libraries, bindings, man pages, and CLI tools, preserving a pre-deep-learning branch of NLP in a form that can still be installed with a package manager.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
link-generator | cli | global executable | |
link-parser | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/opencog/link-grammar
install metadata
| Package key | brew:link-grammar |
|---|---|
| Version | 5.13.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/link-grammar |
| Homepage | https://github.com/opencog/link-grammar |
| Repository | https://github.com/opencog/link-grammar |
| Upstream docs | https://github.com/opencog/link-grammar |
| License | LGPL-2.1-or-later |
| Source archive | https://github.com/opencog/link-grammar/archive/refs/tags/link-grammar-5.13.0.tar.gz |
| Build dependencies | ant, autoconf, autoconf-archive, automake, libtool, pkgconf, python@3.14, swig |
| Uses from macOS | libedit, sqlite |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | link-grammar |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
liblink-grammar-dev 5.12.5~dfsg-1+b3
Carnegie Mellon University's link grammar parser (development headers)
https://www.abisource.com/projects/link-grammar/
sudo apt install liblink-grammar-devliblink-grammar-java 5.12.5~dfsg-1+b3
Carnegie Mellon University's link grammar parser (JNI library)
https://www.abisource.com/projects/link-grammar/
sudo apt install liblink-grammar-javaliblink-grammar5t64 5.12.5~dfsg-1+b3
Carnegie Mellon University's link grammar parser (libraries)
https://www.abisource.com/projects/link-grammar/
sudo apt install liblink-grammar5t64link-grammar 5.12.5~dfsg-1+b3
Carnegie Mellon University's link grammar parser
https://www.abisource.com/projects/link-grammar/
sudo apt install link-grammarlink-grammar-dictionaries-all 5.12.5~dfsg-1
Carnegie Mellon University's link grammar parser (all dictionaries)
https://www.abisource.com/projects/link-grammar/
sudo apt install link-grammar-dictionaries-alllink-grammar-dictionaries-en 5.12.5~dfsg-1
Carnegie Mellon University's link grammar parser (English dictionary)
https://www.abisource.com/projects/link-grammar/
sudo apt install link-grammar-dictionaries-enpython-link-grammar-examples 5.12.5~dfsg-1
CMU's link grammar parser (Python examples)
https://www.abisource.com/projects/link-grammar/
sudo apt install python-link-grammar-examplespython3-link-grammar 5.12.5~dfsg-1+b3
Carnegie Mellon University's link grammar parser (Python 3)
https://www.abisource.com/projects/link-grammar/
sudo apt install python3-link-grammarlink-grammar
nix profile install nixpkgs#link-grammarliblink-grammar-dev 5.12.3~dfsg-1build3
Carnegie Mellon University's link grammar parser (development headers)
https://www.abisource.com/projects/link-grammar/
sudo apt install liblink-grammar-devliblink-grammar-java 5.12.3~dfsg-1build3
Carnegie Mellon University's link grammar parser (JNI library)
https://www.abisource.com/projects/link-grammar/
sudo apt install liblink-grammar-javaliblink-grammar5 5.12.3~dfsg-1build3
Carnegie Mellon University's link grammar parser (libraries)
https://www.abisource.com/projects/link-grammar/
sudo apt install liblink-grammar5link-grammar 5.12.3~dfsg-1build3
Carnegie Mellon University's link grammar parser
https://www.abisource.com/projects/link-grammar/
sudo apt install link-grammarlink-grammar-dictionaries-all 5.12.3~dfsg-1build3
Carnegie Mellon University's link grammar parser (all dictionaries)
https://www.abisource.com/projects/link-grammar/
sudo apt install link-grammar-dictionaries-alllink-grammar-dictionaries-en 5.12.3~dfsg-1build3
Carnegie Mellon University's link grammar parser (English dictionary)
https://www.abisource.com/projects/link-grammar/
sudo apt install link-grammar-dictionaries-enpython-link-grammar-examples 5.12.3~dfsg-1build3
CMU's link grammar parser (Python examples)
https://www.abisource.com/projects/link-grammar/
sudo apt install python-link-grammar-examplessource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.