Skip to content

Commit

Permalink
[text] revert wenet/utils/file_utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Mddct committed Nov 27, 2023
1 parent c2ecc7c commit 3acdd59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wenet/utils/file_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def read_non_lang_symbols(non_lang_sym_path):
"""
if non_lang_sym_path is None:
return {}
return None
else:
syms = read_lists(non_lang_sym_path)
non_lang_syms_pattern = re.compile(r"(\[[^\[\]]+\]|<[^<>]+>|{[^{}]+})")
Expand Down

0 comments on commit 3acdd59

Please sign in to comment.