mirror of
https://github.com/fxsjy/jieba.git
synced 2025-07-10 00:01:33 +08:00
Merge pull request #114 from hermanschaaf/patch-1
Fix typo in error message
This commit is contained in:
commit
e79d54b380
@ -383,7 +383,7 @@ def set_dictionary(dictionary_path):
|
||||
with DICT_LOCK:
|
||||
abs_path = os.path.normpath( os.path.join( os.getcwd(), dictionary_path ) )
|
||||
if not os.path.exists(abs_path):
|
||||
raise Exception("jieba: path does not exists:" + abs_path)
|
||||
raise Exception("jieba: path does not exist:" + abs_path)
|
||||
DICTIONARY = abs_path
|
||||
initialized = False
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user