Skip to content

Commit

Permalink
Add remove-disfluency arg parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
TeriDSpeech committed Apr 26, 2024
1 parent 3f0be81 commit 98ccf5e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions speechmatics/cli_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 98ccf5e

Please sign in to comment.