spelling-suggest-0.5.0.1: Spelling suggestion tool with library and command-line interfaces.

Text.SpellingSuggest.Dictionary

Description

Read a spelling dictionary.

Synopsis

Documentation

defaultDictionary :: StringSource

File path for default dictionary.

readDictionary :: Maybe String -> IO [String]Source

Read the words out of the dictionary at the given path. XXX Will leak a file handle until/unless it is finalized, since there's no non-trivial way to arrange for the dictionary file to be closed explicitly.