-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathconfig.sample.toml
63 lines (53 loc) · 1.41 KB
/
config.sample.toml
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
[app]
address = ":6002"
# Enable rendering arbitrary pages from (site_dir/pages/*.html).
# For instance, "about" for site_dir/pages/about.html will be
# rendered on site.com/pages/about where the template is defined
# with the name {{ define "page-about" }}. All template name definitions
# should be "page-*".
enable_pages = true
[results]
# Default number of entries to return per page when paginated.
default_per_page = 10
# The absolute maximum number of results to return per query in case the
# per_page value above if overwritten from the frontend.
max_per_page = 20
num_page_nums = 10
[glossary]
default_per_page = 100
max_per_page = 100
num_page_nums = 10
[db]
host = "localhost"
port = 9432
db = "alar"
user = ""
password = ""
[lang.english]
name = "English"
# The name of the tokenizer that's used to tokenize search queries.
# This can be either a Postgres supported tsvector regconfig (eg: english|german|finnish etc.)
# or a tokenizer plugin with a .tk extension that's dynamically loaded.
tokenizer = "english"
tokenizer_type = "db"
[lang.english.types]
n = "Noun"
a = "Adjective"
v = "Verb"
adv = "Adverb"
conj = "Conjugation"
interj = "Interjection"
pron = "Pronoun"
prep = "Preposition"
pfx = "Prefix"
idm = "Idiom"
sfx = "Suffix"
abbr = "Abbreviation"
auxv = "Auxiliary verb"
phrv = "Phrasal verb"
propn = "Proper Noun"
ph = "Phrase"
[lang.kannada]
name = "Kannada"
tokenizer = "indicphone"
tokenizer_type = "custom"