LanguageTool is a tool used to check spelling and grammar within text. It is free to use as long as no more than 20,000 characters are submitted at a time. Details regarding pricing is found at https://languagetool.org/. In this recipe, we will demonstrate how to spell-check text.
Spell-checking using the LanguageTool API
Getting ready
To prepare this recipe, we need to do the following:
- Create a new Maven project
- Add the following dependency to the POM file:
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-en</artifactId>
<version>4.4</version>
</dependency>