
Implements the SymSpell fuzzy search algorithm for fast and efficient spelling correction, supporting sentence-level context and customizable weighted edit distances. Features Qwerty/Qwertz keyboard distance for improved accuracy.
This is a Kotlin Multiplatform implementation of the symspell fuzzy search algorithm. It has been ported from this Java implementation of symspell.
implementation("com.darkrockstudios:symspellkt:3.4.0")
Try out the sample desktop application:
gradlew sampleCompose:run
In order to optimize for size on disk, and speed of loading and parsing, I made a little file format to encode the common plain text frequency dictionaries use with SymSpell style spell checkers.
fdic is both smaller on disk, and faster to load than either plain text or gzipped dictionaries. In some cases being:
There is a CLI program for producing .fdic files from a standard plain text frequency dictionary, as well as some
extension functions in an addon library for loading them into a SymSpellKt SpellChecker object.
This is a Kotlin Multiplatform implementation of the symspell fuzzy search algorithm. It has been ported from this Java implementation of symspell.
implementation("com.darkrockstudios:symspellkt:3.4.0")
Try out the sample desktop application:
gradlew sampleCompose:run
In order to optimize for size on disk, and speed of loading and parsing, I made a little file format to encode the common plain text frequency dictionaries use with SymSpell style spell checkers.
fdic is both smaller on disk, and faster to load than either plain text or gzipped dictionaries. In some cases being:
There is a CLI program for producing .fdic files from a standard plain text frequency dictionary, as well as some
extension functions in an addon library for loading them into a SymSpellKt SpellChecker object.