Skip to content

Commit

Permalink
Merge pull request #32 from opensource-spraakherkenning-nl/experimental
Browse files Browse the repository at this point in the history
Test removing -m hyp from sclite command in pipeline
  • Loading branch information
greenw0lf authored Dec 5, 2023
2 parents cbf617e + 2a36c17 commit a323856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ASR_NL_benchmark/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 -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")
f"sclite -D -h {hypfile.variation_path} {hypfile.extension} -r {reffile.variation_path} {reffile.extension} -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
Expand Down

0 comments on commit a323856

Please sign in to comment.