We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
建议将run.py中的
run.py
parser.add_argument('--word', default=False, type=bool, help='True for word, False for char')
改为
parser.add_argument('--word', action='store_true', help='--word for word, none for char')
因为在 parser 中 type=bool 仅是将空字符识别为false,含字符识别为true,直接传入会没有效果
parser
type=bool
The text was updated successfully, but these errors were encountered:
No branches or pull requests
建议将
run.py
中的parser.add_argument('--word', default=False, type=bool, help='True for word, False for char')
改为
因为在
parser
中type=bool
仅是将空字符识别为false,含字符识别为true,直接传入会没有效果The text was updated successfully, but these errors were encountered: