cg3-autobin.pl command not found

In this troubleshooting guide we learn how to fix cg3-autobin.pl command not found error message

Introduction

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

cg3-autobin.pl: command not found

or when using sudo you get the following error message

sudo: cg3-autobin.pl: command not found

Solutions to cg3-autobin.pl: command not found

How To Fix cg3-autobin.pl: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu cg3-autobin.pl is provided by cg3 package.

cg3 is:

Constraint Grammar compiler and applicator for the 3rd edition of CG that is developed and maintained by VISL SDU and GrammarSoft ApS.

CG-3 can be used for disambiguation of morphology, syntax, semantics, etc; dependency markup, target language lemma choice for MT, QA systems, and much more. The core idea is that you choose what to do based on the whole available context, as opposed to n-grams.

See https://visl.sdu.dk/cg3.html for more documentation

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

sudo apt-get -y install cg3

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

You can also use apt command to install cg3.

sudo apt -y install cg3

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

sudo aptitude install cg3

Summary

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