From 98ccf5e4cbe55fcb68824bdf97b8945dd489d30d Mon Sep 17 00:00:00 2001 From: Teri Drummond Date: Fri, 26 Apr 2024 16:37:19 +0100 Subject: [PATCH] Add remove-disfluency arg parsing --- speechmatics/cli_parser.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/speechmatics/cli_parser.py b/speechmatics/cli_parser.py index 3087b88..0b76fe8 100644 --- a/speechmatics/cli_parser.py +++ b/speechmatics/cli_parser.py @@ -486,6 +486,13 @@ def get_arg_parser(): required=False, help="Comma-separated list of whitelisted event types for audio events.", ) + + rt_transcribe_command_parser.add_argument( + "--remove-disfluencies", + default=False, + action="store_true", + help="Removes words tagged as disfluency.", + ) # Parent parser for batch auto-chapters argument batch_audio_events_parser = argparse.ArgumentParser(add_help=False)