Trinity2105 commited on
Commit
3b879dd
·
verified ·
1 Parent(s): 1c44b34

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,8 +5,8 @@ import re
5
 
6
  # Đường dẫn đến thư mục và file mô hình
7
  model_dir = r"D:\Visual Studio Code\Data\Lab8\test"
8
- model_path = os.path.join(model_dir, "kneserney_ngram_model.pkl")
9
- syllables_path = os.path.join(model_dir, 'vn_syllables.txt')
10
 
11
  # Hàm xử lý
12
  def remove_vn_accent(word):
 
5
 
6
  # Đường dẫn đến thư mục và file mô hình
7
  model_dir = r"D:\Visual Studio Code\Data\Lab8\test"
8
+ model_path = os.path.join(model_dir, r"D:\Visual Studio Code\Data\Lab8\ung-dung-them-dau-tieng-viet\kneserney_ngram_model.pkl")
9
+ syllables_path = os.path.join(model_dir, r"D:\Visual Studio Code\Data\Lab8\ung-dung-them-dau-tieng-viet\vn_syllables.txt")
10
 
11
  # Hàm xử lý
12
  def remove_vn_accent(word):