You could probably google for a dictionary and download a text file. For English, there is Wordnet which has a java client for accessing it.
I think you would use a FuzzyQuery or QueryParser with a tilde (-) to indícate the terms you’d like to do the spellcheck for. This will find terms within a 2 edit distance. On Tue, 4 Aug 2020 at 4:17 AM, Sébastien Dionne <sebastien.dio...@gmail.com> wrote: > hello, first, there is a google forum or other site to see the questions > in the mailing-list ? > > my project was using dictionary indexed + files that I wanted to check for > spelling errors + suggestions. > > I try for fun to just update the maven dependencies and my code doesn't > compile.. it was expected :) > > so I'll write it from scratch ..will be cleaner too. > > I used dictionaries from wiktionary and I used a script to convert hunspell > dictionaries to wordlist format at that time. > > There must be official dictionaries that I can used directly now ? > > I found a project languagetool that have lot of dictionaries and they use > lucene + hunspell wrapper (native -> java), but it doesn't work on Windows > 10. > > > At my starting point, I want to create a little POC that use english/french > dictionaries and parse a file to check the spelling error. > > After that, add custom dictionnaries + find suggestions + highlight the > word in the text. That was I had with Lucene 4.2 > > any thought on what changes since 2013 ? I'll start looking at the code > from github > > thanks >