Skip to content

Commit 39c65c1

Browse files
authored
Update named_entity.py
1 parent e0f65e1 commit 39c65c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pythainlp/tag/named_entity.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ def __init__(self):
7676
"""
7777
Thai named-entity recognizer
7878
"""
79-
self.__data_path = get_corpus_path("thainer")
79+
self.__data_path = get_corpus_path("thainer-1-2")
8080
if not self.__data_path:
81-
download("thainer")
82-
self.__data_path = get_corpus_path("thainer")
81+
download("thainer-1-2")
82+
self.__data_path = get_corpus_path("thainer-1-2")
8383
self.crf = sklearn_crfsuite.CRF(
8484
algorithm="lbfgs",
8585
c1=0.1,

0 commit comments

Comments
 (0)