corrections ( word dictionary -- words )


Vocabulary
spelling

Inputs
wordan object
dictionaryan object


Outputs
wordsan object


Definition


:: corrections ( word dictionary -- words )
word 1array dictionary filter-known
[ word edits1 dictionary filter-known ] when-empty
[ word edits2 dictionary filter-known ] when-empty
[ dictionary at ] sort-by reverse! ;