File: config-dbs.py

package info (click to toggle)
serpento 0.3.6
  • links: PTS
  • area: main
  • in suites: woody
  • size: 292 kB
  • ctags: 381
  • sloc: python: 1,644; ansic: 666; perl: 157; sh: 116; makefile: 72
file content (28 lines) | stat: -rw-r--r-- 828 bytes parent folder | download | duplicates (3)
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

# FileDb has either one, 2, 3 or 4 arguments
# (name, data, inx, info)
# if data is missing, name+".dict" is used
# if inx is missing, name+".index" is used.
# if info is missing, name is used
# data and inx can be either full path, or
# just a filename, in which case /usr/share/dictd/
# is used.

dbases = [

# two standard databases: * and !
StarDb(),
BangDb(),
# EmptyDb(name='empty', info='simple empty database'),

FileDb(name='web1913', info="Websters dictionary"),
FileDb(name='wn', info="Wordnet"),
FileDb(name='jargon'),
FileDb(name='foldoc'),
FileDb(name='gazetteer'),
FileDb(name='hitchcock'),
FileDb(name='elements'),
FileDb(name='vera'),
#FileDb(name='ru-en', info='Russian-English dictionary'),
#FileDb(name='ascii-ru-en', data='ru-en.dict', inx='ascii-ru-en.index', info='Russian-English dictionary (ASCII)')
]