diff --git a/ASR_NL_benchmark/pipeline.py b/ASR_NL_benchmark/pipeline.py index ce44dac..52d2608 100644 --- a/ASR_NL_benchmark/pipeline.py +++ b/ASR_NL_benchmark/pipeline.py @@ -58,7 +58,7 @@ def run_pipeline(hypfile, reffile, skip_ref_norm, skip_hyp_norm): run = os.system( f"csrfilt.sh -s -i stm {os.path.join('ASR_NL_benchmark','variations.glm')} < {reffile.normalized_path} > {reffile.variation_path}") run = os.system( - f"sclite -h {hypfile.variation_path} {hypfile.extension} -r {reffile.variation_path} {reffile.extension} -m hyp -O {os.path.join(os.path.sep,'input','results')} -o dtl spk") + f"sclite -D -h {hypfile.variation_path} {hypfile.extension} -r {reffile.variation_path} {reffile.extension} -m hyp -O {os.path.join(os.path.sep,'input','results')} -o dtl spk") def calculate_wer(df): """ Calculates the word error rate and adds the collumn 'product' to the dataframe