课程中需要导入nltk包中的Reuters语料库,但是原始代码是在线下载的,国内连不上服务器,挂梯子都不行
原始代码如下:
from gensim.models import KeyedVectors
from gensim.test.utils import datapath
import pprint
import matplotlib.pyplot as plt
plt.rcParams['figure.figsize'] = [10
课程中需要导入nltk包中的Reuters语料库,但是原始代码是在线下载的,国内连不上服务器,挂梯子都不行
原始代码如下:
from gensim.models import KeyedVectors
from gensim.test.utils import datapath
import pprint
import matplotlib.pyplot as plt
plt.rcParams['figure.figsize'] = [10