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

Method cut

jieba/__init__.py:275–315  ·  view source on GitHub ↗

The main function that segments an entire sentence that contains Chinese characters into separated words. Parameter: - sentence: The str(unicode) to be segmented. - cut_all: Model type. True for full pattern, False for accurate pattern. -

(self, sentence, cut_all=False, HMM=True)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

cut_for_searchMethod · 0.95
lcutMethod · 0.95
suggest_freqMethod · 0.95
tokenizeMethod · 0.95
run.pyFile · 0.45
cutfuncFunction · 0.45
__cut_DAGMethod · 0.45

Calls 1

strdecodeFunction · 0.85

Tested by

no test coverage detected