A spell check service that is implemented using a BK-Tree. This service can also be used for auto completion.
checkout http://blog.notdot.net/2007/4/Damn-Cool-Algorithms-Part-1-BK-Trees
mvn install
mvn jetty:run -Djetty.port=9999
curl --data "words=apple,orange,pear" http://localhost:9999/spellcheck-service
Example Response: {"id":1395598771557}
curl --data "words=kiwi,cantaloupe,strawberry&id=1395598771557" http://localhost:9999/spellcheck-service
curl "http://localhost:9999/spellcheck-service?id=1395598771557&word=cantelope&edit_distance=2"
Example Response: {"results":[["cantaloupe"]]}