From 4ac7de76cf2baba60c89e69260022024e6b614e1 Mon Sep 17 00:00:00 2001 From: pkufool Date: Thu, 14 Sep 2023 15:36:50 +0800 Subject: [PATCH] Minor fixes --- scripts/text2token.py | 1 - sherpa-onnx/python/sherpa_onnx/cli.py | 1 - 2 files changed, 2 deletions(-) diff --git a/scripts/text2token.py b/scripts/text2token.py index e989c945f..6ba3795f2 100755 --- a/scripts/text2token.py +++ b/scripts/text2token.py @@ -56,7 +56,6 @@ def get_args(): "--tokens-type", type=str, required=True, - default="cjkchar", help="The type of modeling units, should be cjkchar, bpe or cjkchar+bpe", ) diff --git a/sherpa-onnx/python/sherpa_onnx/cli.py b/sherpa-onnx/python/sherpa_onnx/cli.py index 74488a0fc..971e724bb 100644 --- a/sherpa-onnx/python/sherpa_onnx/cli.py +++ b/sherpa-onnx/python/sherpa_onnx/cli.py @@ -30,7 +30,6 @@ def cli(): "--tokens-type", type=str, required=True, - default="cjkchar", help="The type of modeling units, should be cjkchar, bpe or cjkchar+bpe", ) @click.option(