Safe Haskell | Safe-Infered |
---|
Create and maintain a nonvolatile database of phonetic codes.
Documentation
data DBConnection Source
Database connection.
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.
closeDB :: DBConnection -> IO ()Source