Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 697 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 697 Bytes

SymSpellKt Fdic

These are some extension functions for loading fdic dictionary files into a SymSpell spell checker.

Getting started

Add to your project from Maven Central:

implementation("com.darkrockstudios:symspellfdic:3.1.0)

Then an fdic dictionary into your Spell Checker:

val checker = SymSpell()
// Load fdic dictionary from composeResources
checker.dictionary.loadFdicFile(Res.readBytes("files/en-80k.fdic"))
// Load fdic dictionary from the file system
checker.dictionary.loadFdicFile("path/to/en-80k.fdic")

Note: Unigram VS Bigram dictionaries are handled automatically for you, no need to specify which this particular dictionary is.