Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ normalizer = hazm.Normalizer()
|
|
12 |
sent_tokenizer = hazm.SentenceTokenizer()
|
13 |
word_tokenizer = hazm.WordTokenizer()
|
14 |
|
15 |
-
tagger_path = hf_hub_download(repo_id="gyroing/HAZM_POS_TAGGER",
|
16 |
tagger = hazm.POSTagger(model=tagger_path)
|
17 |
|
18 |
def preprocess_text(text: str) -> typing.List[typing.List[str]]:
|
|
|
12 |
sent_tokenizer = hazm.SentenceTokenizer()
|
13 |
word_tokenizer = hazm.WordTokenizer()
|
14 |
|
15 |
+
tagger_path = hf_hub_download(repo_id="gyroing/HAZM_POS_TAGGER", filename="pos_tagger.model")
|
16 |
tagger = hazm.POSTagger(model=tagger_path)
|
17 |
|
18 |
def preprocess_text(text: str) -> typing.List[typing.List[str]]:
|