MCPcopy Create free account
hub / github.com/MotrixLab/insactor / __len__

Method __len__

diffplanner/models/utils/word_vectorizer.py:61–62  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

59 return pos_vec
60
61 def __len__(self):
62 return len(self.word2vec)
63
64 def __getitem__(self, item):
65 word, pos = item.split('/')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected