Spell correction library
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
pom.xml

README.md

spellor

Spell correction library

What you need

  • Java 8
  • Maven

How to use this library

  • Create a new Spellor object:
Spellor spellor = new Spellor();
  • You can feed Spellor with the contents of a custom file. Just input the path and it will take all the words inside the file and add to the dictionary:
spellor.trainOnData("D:/data/input/words.txt");
  • Just get the appropriate correction of the word you need using the correction method:
spellor.correction("spelaing"); // returns spelling

How to include this library in your projects

  • Go to the project folder and run mvn install
  • Use in your project like this:
<dependency>
    <groupId>com.manparvesh.spellor</groupId>
    <artifactId>spellor</artifactId>
    <version>1.0-SNAPSHOT</version>
</dependency>