apertium-despptx command not found

In this troubleshooting guide we learn how to fix apertium-despptx command not found error message

Introduction

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

apertium-despptx: command not found

or when using sudo you get the following error message

sudo: apertium-despptx: command not found

Solutions to apertium-despptx: command not found

How To Fix apertium-despptx: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu apertium-despptx is provided by apertium package.

apertium is:

An open-source shallow-transfer machine translation engine, Apertium is initially aimed at related-language pairs.

It uses finite-state transducers for lexical processing, hidden Markov models for part-of-speech tagging, and finite-state based chunking for structural transfer.

The system is largely based upon systems already developed by the Transducens group at the Universitat d’Alacant, such as interNOSTRUM (Spanish-Catalan, http://www.internostrum.com/welcome.php) and Traductor Universia (Spanish-Portuguese, http://traductor.universia.net).

It will be possible to use Apertium to build machine translation systems for a variety of related-language pairs simply providing the linguistic data needed in the right format.

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

sudo apt-get -y install apertium

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

You can also use apt command to install apertium.

sudo apt -y install apertium

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

sudo aptitude install apertium

Summary

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