|
|
|
@ -30,7 +30,7 @@ wc = wordcloud.WordCloud(
|
|
|
|
|
height=500,
|
|
|
|
|
background_color='white',
|
|
|
|
|
mask=img,
|
|
|
|
|
stopwords={'main','Taipei','afraid','aiden','Britain'}, # 可添加不需要的停用词
|
|
|
|
|
stopwords={'main','Taipei','afraid','aiden','Britain'}, # 添加停用词
|
|
|
|
|
font_path='msyh.ttc' # 设置中文字体路径
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|