sample_worker.yaml 939 Bytes
Newer Older
Yoann HOUPERT's avatar
Yoann HOUPERT committed
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]