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

Method __len__

mogen/models/utils/word_vectorizer.py:69–70  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

67 return pos_vec
68
69 def __len__(self):
70 return len(self.word2vec)
71
72 def __getitem__(self, item):
73 word, pos = item.split('/')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected