-
Notifications
You must be signed in to change notification settings - Fork 35
/
example.cfg
52 lines (34 loc) · 1.14 KB
/
example.cfg
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
[Corpus]
# Currently only support one format: file
# In the future: file, folder, lucene
format = file
path = corpus/example-documents.txt
### these both work for unicode encoded corpus files:
# tokenization = [^ ]+
tokenization = whitespace
# -----------------------------------------------------------------------------
[TopicModel]
# Two topic models
# Supported libraries: mallet, stmt
library = mallet
; library = stmt
# Path to save topic model outputs
path = output/example-project/topic-model
# Number of topics to train
num_topics = 20
# -----------------------------------------------------------------------------
[Termite]
# Currently only support one format: file
# In the future: file, database
format = file
# Path to save Termite-internal working files
path = output/example-project
# Number of terms to seriate
number_of_seriated_terms = 400
# -----------------------------------------------------------------------------
[Misc]
# Miscellaneous program configurations
;logging = 10 # Display all debug messages
;logging = 20 # Display info messages
;logging = 30 # Display only warnings
;logging = 40 # Display only errors