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

Safe HaskellSafe-Infered



Create and maintain a nonvolatile database of phonetic codes.



data DBConnection Source

Database connection.

defaultDB :: IO StringSource

File path for default cache database.

createDB :: [String] -> Maybe String -> IO DBConnectionSource

Create and populate the phonetic codes database, given a list of words and a database path.

openDB :: Maybe String -> IO (Maybe DBConnection)Source

Open the phonetic codes database, given a database path.

matchDB :: DBConnection -> String -> String -> IO [String]Source

Return all the words in the given coding system matching the given code.