-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathspelling-suggest.cabal
69 lines (62 loc) · 2.14 KB
/
spelling-suggest.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: spelling-suggest
version: 0.5.2.1
cabal-version: >= 1.6
build-type: Simple
license: BSD3
license-file: COPYING
copyright: Copyright © 2010 Bart Massey and Greg Weber
author: Bart Massey and Greg Weber
maintainer: [email protected], [email protected]
homepage: https://github.com/gregwebs/haskell-spell-suggest
category: Console, Text
data-files: README.md, 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.2 && < 0.3,
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.2 && < 0.3,
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
Source-repository head
type: git
location: git://github.com/gregwebs/haskell-spell-suggest.git
Source-repository this
type: git
location: git://github.com/gregwebs/haskell-spell-suggest.git
tag: v0.5.2.1