Spaces:
Running
Running
Update Hazm_correction.py
Browse files- Hazm_correction.py +1 -1
Hazm_correction.py
CHANGED
@@ -6,7 +6,7 @@ sent_tokenizer = hazm.SentenceTokenizer()
|
|
6 |
word_tokenizer = hazm.WordTokenizer()
|
7 |
|
8 |
tagger = hazm.POSTagger(
|
9 |
-
model=str("pos_tagger.model")
|
10 |
)
|
11 |
|
12 |
def preprocess_text(text: str) -> typing.List[typing.List[str]]:
|
|
|
6 |
word_tokenizer = hazm.WordTokenizer()
|
7 |
|
8 |
tagger = hazm.POSTagger(
|
9 |
+
model=str("gyroing/PersianTextCorrection_Hazm/pos_tagger.model")
|
10 |
)
|
11 |
|
12 |
def preprocess_text(text: str) -> typing.List[typing.List[str]]:
|