This repository has been archived by the owner on May 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Taskvars.yml
50 lines (41 loc) · 1.64 KB
/
Taskvars.yml
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
# Copyright: University of Queensland, 2019
# Default path configuration
# No trailing slashes please!
KALDI_ROOT: "/kaldi"
HELPERS_PATH: "/kaldi-helpers"
KALDI_TEMPLATES: "/kaldi-helpers/resources/kaldi_templates"
# Folders to read/write from, all set relative to .HELPERS_PATH
# i.e., input_scripts == /kaldi-helpers/input_scripts (default)
# See also kaldi-helpers/kaldi_templates/path.sh
INPUT_SCRIPTS_PATH: "kaldi_helpers/input_scripts"
OUTPUT_SCRIPTS_PATH: "kaldi_helpers/output_scripts"
INFERENCE_SCRIPTS_PATH: "kaldi_helpers/inference_scripts"
# Working directory paths (also relative to .HELPERS_PATH)
INPUT_PATH: "working_dir/input"
KALDI_OUTPUT_PATH: "working_dir/input/output"
WORKING_OUTPUT_PATH: "working_dir/output"
CORPUS_PATH: "working_dir/input/data"
INFER_PATH: "working_dir/input/infer"
CLEANED_FILTERED_DATA: "cleaned_filtered.json"
# For output/kaldi/data/local/dict
# Relative to HELPERS_PATH
LETTER_TO_SOUND_PATH: "working_dir/input/config/letter_to_sound.txt"
SILENCE_PHONES_PATH: "working_dir/input/config/silence_phones.txt"
OPTIONAL_SILENCE_PHONES_PATH: "working_dir/input/config/optional_silence.txt"
# For output/kaldi/conf/mfcc.conf
# Template is in kaldi_helpers/resources/kaldi_templates/mfcc.conf
MFCC_SAMPLE_FREQUENCY: 44100
MFCC_FRAME_LENGTH: 25
MFCC_LOW_FREQ: 20
MFCC_HIGH_FREQ: 22050
MFCC_NUM_CEPS: 7
# For output/kaldi/conf/decode.config
# Template is in kaldi-helpers/kaldi_templates/
DECODE_BEAM: 11.0
DECODE_FIRST_BEAM: 8.0
# For slicing audio and eafs to separate clips and text
DIRTY_DATA_PATH: "input/dirty-data"
TARGET_LANGUAGE_TIER: "Phrase"
SILENCE_MARKER: "*PUB"
SILENCE_REF_TIER: "Silence"
PYTHONPATH: "/kaldi-helpers"