link-parser command not found

In this troubleshooting guide we learn how to fix link-parser command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

link-parser: command not found

or when using sudo you get the following error message

sudo: link-parser: command not found

In Ubuntu link-parser is provided by link-grammar package.

link-grammar is:

In Sleator, D. and Temperley, D. “Parsing English with a Link Grammar” (1991), the authors defined a new formal grammatical system called a “link grammar”. A sequence of words is in the language of a link grammar if there is a way to draw “links” between words in such a way that the local requirements of each word are satisfied, the links do not cross, and the words form a connected graph. The authors encoded English grammar into such a system, and wrote this program to parse English using this grammar.

link-grammar can be used for linguistic parsing for information retrieval or extraction from natural language documents. It can also be used as a grammar checker.

This package contains the user-executable binary.

To fix this problem, we can install more using the command below.

sudo apt-get -y install link-grammar

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install link-grammar.

sudo apt -y install link-grammar

Or if you have aptitude installed you can use the following command.

sudo aptitude install link-grammar

Summary

In this tutorial we learn how to fix link-parser command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.