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
目前正在使用自用的text格式字典 为了方便随时修改,需要注释以及换行(肉眼归类)
但由于text过于严格,不允许空行(无\t),给实际使用带来一定麻烦。
\t
>opencc-1.1.2\bin\opencc -i txt/PatchString.txt -o PatchString.txt -c rules/ds2tw.json Invalid text dictionary at line 5: Tabular not found
旧版本可以通过加入一行空的\t解决,但是新版本会提示Invalid format: The text dictionary contains duplicated keys.
Invalid format: The text dictionary contains duplicated keys.
这个没有tabular的合法性检测似乎有些不太合理了,应该排除空行的情况。 希望可以优化。
以下是我个人使用的字典sample:
The text was updated successfully, but these errors were encountered:
Allow and skip empty lines in the text dictionary.
6b4f446
#613
允許空行了。
Sorry, something went wrong.
@BYVoid 不知道为什么使用新版仍报错。使用的是CI的这个版本
No branches or pull requests
目前正在使用自用的text格式字典
为了方便随时修改,需要注释以及换行(肉眼归类)
但由于text过于严格,不允许空行(无
\t
),给实际使用带来一定麻烦。旧版本可以通过加入一行空的
\t
解决,但是新版本会提示Invalid format: The text dictionary contains duplicated keys.
这个没有tabular的合法性检测似乎有些不太合理了,应该排除空行的情况。
希望可以优化。
以下是我个人使用的字典sample:
The text was updated successfully, but these errors were encountered: