There are freemium tools like grammarly.com to check spelling issues. Although they often work as intended, their cost of service often high. Free versions do offer limited functions and force to use multiple software. On the whole earth, you’ll find much open-source code which provides the framework for an online text-checking program. However, English syntax has never been successfully reduced to a set of machine-understandable rules. Paid grammar checker services often are too much promoted than they can do. For any such software, the database of terms—words and phrases are the main driving capability. Lately, natural language processing introduced to automate increasing the database of terms—words and phrases (which is promoted as AI). There are many millions of these possible errors in English and a good text checker will catch many of the most common errors. This is how this class of software works. Here are the steps of installing LanguageTool (Grammer Checking Software) on Ubuntu Server to probably address some of the problems. The project can be found on GitHub :
It can be installed on GNU/Linux desktop, server (to use on command line) or can be configured to use over the browser. We are showing the installation steps for configuring to use over the browser. The official on-browser application is example of function :
A comparison of their SaaS version of software and open-source software :
Installing LanguageTool on Ubuntu Server
LanguageTool can be run as a server, so other applications (such as extensions for other applications ) can check LanguageTool’s text without having to contact an external service on the Internet. In the graphical interface, the server can be (de) activated in the settings dialog and via the context menu of the LT icon in the system section (if LanguageTool has been minimized there).
The software needs Apache Maven.
On official documentation, steps to install nicely writte. The command line version needs just to run :
curl -L https://raw.githubusercontent.com/languagetool-org/languagetool/master/install.sh
Below mentioned steps are just a loose guide to help working on SSH. The user need to make sure that latest software component is being installed :
sudo sh -c 'echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" >> /etc/apt/sources.list'
sudo sh -c 'echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" >> /etc/apt/sources.list'
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install oracle-java8-installer
sudo apt-get install oracle-java8-set-default
sudo apt-get purge -y maven
tar -zxf apache-maven-3.5.0-bin.tar.gz
sudo mv apache-maven-3.5.0 /usr/local
ln -s /usr/local/apache-maven-3.5.0/bin/mvn /usr/bin/mvn
echo "export M2_HOME=/usr/local/apache-maven-3.5.0" >> ~/.profile
export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=256m"
git clone --depth 5 https://github.com/languagetool-org/languagetool.git .
## git clone --depth 5 https://github.com/jeblad/languagetool.git .
mvn clean test package
java org.languagetool.server.HTTPServer --port 8081
curl --data "language=en-US&text=a simple test" http://localhost:8081/v2/check
After installation, browser must be restarted. In the settings of the extension, the primary server should be http://localhost:8081 (the address of the local server) and the secondary server should be https://languagetool.org:8081 (the address of the official LanguageTool online service with encrypted transmission).