MCPcopy Create free account
hub / github.com/CasterWx/python-girlfriend-mood / load_userdict

Method load_userdict

jieba/__init__.py:359–395  ·  view source on GitHub ↗

Load personalized dict to improve detect rate. Parameter: - f : A plain text file contains words and their ocurrences. Can be a file-like object, or the path of the dictionary file, whose encoding must be utf-8. Structure of

(self, f)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__main__.pyFile · 0.80

Calls 3

check_initializedMethod · 0.95
add_wordMethod · 0.95
resolve_filenameFunction · 0.85

Tested by

no test coverage detected