trsanslate all the francais excel to english and persian

This commit is contained in:
Legimmort
2025-09-29 11:31:38 +03:30
parent 2334598312
commit 5e6be90c11
3 changed files with 221 additions and 22 deletions
+8
View File
@@ -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))