TensorFlow-Examples
TensorFlow-Examples copied to clipboard
fixes for Word2Vec for Python 3
Thanks to https://zhuanlan.zhihu.com/p/150579437
Change this line:
# Evaluation Parameters.
eval_words = [b'five', b'of', b'going', b'hardware', b'american', b'britain']
and https://stackoverflow.com/a/53401158/7606730
replace xrange
with range