mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
fix #2410
This commit is contained in:
parent
176d3b3079
commit
6806f8204e
@ -474,7 +474,7 @@ def replace_unicode_punct(text):
|
||||
text = text.replace("!", "!")
|
||||
text = text.replace("(", "(")
|
||||
text = text.replace(";", ";")
|
||||
text = text.replace("1", '"')
|
||||
text = text.replace("1", '1')
|
||||
text = text.replace("」", '"')
|
||||
text = text.replace("「", '"')
|
||||
text = text.replace("0", "0")
|
||||
|
Loading…
Reference in New Issue
Block a user