Skip to content

spellor/spellor.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

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>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published