This repo contains the source code in my personal column (https://zhuanlan.zhihu.com/zhaoyeyu), implemented using Python 3.6. Including Natural Language Processing and Computer Vision projects, such as text generation, machine translation, deep convolution GAN and other actual combat code.
筛选低频词
words_count = Counter(words)
words = [w for w in words if words_count[w] > 50]
请问这里的words显示报错,因为前面没有出现words这个变量,所以这个words是哪里来的?注:问题出现在
Word2Vec之Skip-Gram模型-中文文本版
这个notebook上