name: spelling-suggest version: 0.5.0.1 cabal-version: >= 1.2 build-type: Simple license: BSD3 license-file: COPYING copyright: Copyright © 2010 Bart Massey and Greg Weber author: Bart Massey and Greg Weber maintainer: bart@cs.pdx.edu, greg@gregweber.info homepage: http://wiki.cs.pdx.edu/bartforge/thimk category: Console, Text data-files: README, README.pcdb synopsis: Spelling suggestion tool with library and command-line interfaces. description: Given a possibly-misspelled word, this tool spits out one or more properly-spelled words in order of likelihood of similarity. . This functionality is exported as a library via Text.SpellingSuggest (suggest) and as a command-line program "thimk" (an old joke) . Running the program "thimk-makedb" is an optional (but highly recommended) step to speed up lookups, permitting reasonable performance on enormous dictionaries by creating a precompiled SQlite database of phonetic codes for a dictionary. flag debug library build-depends: base >= 4.2 && < 5, edit-distance >= 0.1 && < 0.2, phonetic-code >= 0.1 && < 0.2, sqlite >= 0.5.1 && < 0.6 exposed-modules: Text.SpellingSuggest, Text.SpellingSuggest.PCDB, Text.SpellingSuggest.LowLevel, Text.SpellingSuggest.Dictionary ghc-options: -Wall Executable thimk main-is: thimk.hs build-depends: base >= 4.2 && < 5, parseargs >= 0.1.1 && < 0.2, edit-distance >= 0.1 && < 0.2, phonetic-code >= 0.1 && < 0.2, sqlite >= 0.5.1 && < 0.6 ghc-options: -Wall Executable thimk-makedb main-is: thimk-makedb.hs build-depends: base >= 4.2 && < 5, parseargs >= 0.1.1 && < 0.2, phonetic-code >= 0.1 && < 0.2, sqlite >= 0.5.1 && < 0.6 ghc-options: -Wall if flag(debug) cpp-options: -DDEBUG