-
Notifications
You must be signed in to change notification settings - Fork 339
/
sample_worker.yaml
29 lines (27 loc) · 939 Bytes
/
sample_worker.yaml
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
timeout-decoder : 10
decoder:
model: test/models/english/voxforge/tri2b_mmi_b0.05/final.mdl
lda-mat: test/models/english/voxforge/tri2b_mmi_b0.05/final.mat
word-syms: test/models/english/voxforge/tri2b_mmi_b0.05/words.txt
fst: test/models/english/voxforge/tri2b_mmi_b0.05/HCLG.fst
silence-phones: "1:2:3:4:5"
out-dir: tmp
use-vad: False
silence-timeout: 60
# Just a sample post-processor that appends "." to the hypothesis
post-processor: perl -npe 'BEGIN {use IO::Handle; STDOUT->autoflush(1);} s/(.*)/\1./;'
logging:
version : 1
disable_existing_loggers: False
formatters:
simpleFormater:
format: '%(asctime)s - %(levelname)7s: %(name)10s: %(message)s'
datefmt: '%Y-%m-%d %H:%M:%S'
handlers:
console:
class: logging.StreamHandler
formatter: simpleFormater
level: DEBUG
root:
level: DEBUG
handlers: [console]