MCPcopy Create free account
hub / github.com/MachineLP/TextMatch / fit

Method fit

textmatch/models/text_embedding/bow_sklearn.py:99–101  ·  view source on GitHub ↗
(self, word_list)

Source from the content-addressed store, hash-verified

97
98
99 def fit(self, word_list):
100 word_list = self._seg_word(word_list)
101 self._gen_model(word_list)
102
103 # build dic
104 def _gen_dic(self, word_list):

Callers

nothing calls this directly

Calls 2

_seg_wordMethod · 0.95
_gen_modelMethod · 0.95

Tested by

no test coverage detected