paln tcode
This commit is contained in:
@@ -332,6 +332,7 @@ class TextNormalizer:
|
||||
# text = re.sub(r"([^\d \/\\]+?)(\d)", r"\1 \2", text)
|
||||
# text = re.sub(r"(\d+)([^\d \/\\]+?)", r"\1 \2", text)
|
||||
text = re.sub(r"[^\/](\d+)([\u0600-\u06FF\u0750-\u077F]+?)", r"\1 \2", text)
|
||||
text = re.sub(r"([\u0600-\u06FF\u0750-\u077F]+?)(\d+)", r"\1 \2", text)
|
||||
|
||||
|
||||
# ر54ر44ر135
|
||||
|
||||
Reference in New Issue
Block a user