mirror of
https://github.com/fxsjy/jieba.git
synced 2025-07-10 00:01:33 +08:00
Reindent function
* jieba/__init__.py (require_initialized):
This commit is contained in:
parent
7bfd432fc5
commit
fbfaac2eaa
@ -111,8 +111,10 @@ def require_initialized(fn):
|
||||
else:
|
||||
initialize(DICTIONARY)
|
||||
return fn(*args, **kwargs)
|
||||
|
||||
return wrapped
|
||||
|
||||
|
||||
def __cut_all(sentence):
|
||||
dag = get_DAG(sentence)
|
||||
old_j = -1
|
||||
|
Loading…
x
Reference in New Issue
Block a user