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

Safe HaskellSafe-Infered

Text.SpellingSuggest.PCDB

Description

Create and maintain a nonvolatile database of phonetic codes.

Synopsis

Documentation

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.