const classafAskFanny::Spelling

sys::Obj
  afAskFanny::Spelling

Spelling algorithm taken from: https://github.com/rkoeninger/spelling

correction

Source

Str correction(Str:Int counts, Str word)

Most probable spelling correction for word.

corrections

Source

Str[] corrections(Str:Int counts, Str word)

letters

Source

const static Range letters := Range.makeInclusive(97, 122)

main

Source

static Void main(Str[] args)

Load sample text and offer corrections for input