Skip to content

Instantly share code, notes, and snippets.

@vinicius85
Last active December 17, 2015 23:09
Show Gist options
  • Save vinicius85/5687379 to your computer and use it in GitHub Desktop.
Save vinicius85/5687379 to your computer and use it in GitHub Desktop.
lucene stringdistance example output
class org.apache.lucene.search.spell.LevensteinDistance
misspelled=notebuk word=notebook distance=0.75
misspelled=notebuk word=notebooks distance=0.6666666
misspelled=notebuk word=netbook distance=0.4285714
class org.apache.lucene.search.spell.JaroWinklerDistance
misspelled=notebuk word=notebook distance=0.9345238
misspelled=notebuk word=notebooks distance=0.92063487
misspelled=notebuk word=netbook distance=0.76857144
class org.apache.lucene.search.spell.NGramDistance
misspelled=notebuk word=notebook distance=0.75
misspelled=notebuk word=notebooks distance=0.6666666
misspelled=notebuk word=netbook distance=0.4285714
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment