trsanslate all the francais excel to english and persian
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
file_path = r'C:\Users\TAVASI-3\Desktop\init_mahdi\project\dataParsers\data\FLC\cleaned\temp.json'
|
||||
|
||||
with open(file_path, "r", encoding="utf-8") as f:
|
||||
text = f.read()
|
||||
|
||||
import re
|
||||
matches = re.findall(r'persian', text)
|
||||
print("تعداد دقیق:", len(matches))
|
||||
Reference in New Issue
Block a user