Traceback (most recent call last):
File "model.py", line 31, in
w2v.build_vocab(config['corpus'])
File "/home/shark_s/avishkar/deep /example1/Word2Vec.py", line 32, in build_vocab
self.counter.extend([list(item) for item in Counter(words).most_common()
File "/home/shark_s/avishkar/deep /example1/Word2Vec.py", line 33, in
if item[0] > self.min_frequency])
TypeError: unorderable types: str() > int()
Traceback (most recent call last): File "model.py", line 31, in
w2v.build_vocab(config['corpus'])
File "/home/shark_s/avishkar/deep /example1/Word2Vec.py", line 32, in build_vocab
self.counter.extend([list(item) for item in Counter(words).most_common()
File "/home/shark_s/avishkar/deep /example1/Word2Vec.py", line 33, in
if item[0] > self.min_frequency])
TypeError: unorderable types: str() > int()