数字营销实训算法第五轮修改

master
@t2652009480 7 months ago
parent 48588b59aa
commit fc623db0ca

@ -158,7 +158,9 @@ public class StuDigitalMarketingModelServiceImpl implements StuDigitalMarketingM
// 创建词汇表
Map<String, Integer> wordCount = new HashMap<>();
// 读取停用词
Set<String> stopwords = this.loadStopwords("D:\\project\\digital_marketing\\src\\main\\resources\\停用词.txt");
Set<String> stopwords = this.loadStopwords("/usr/local/tianzeProject/digitalMarketing/jarAndDockerFile/停用词.txt");
// Set<String> stopwords = this.loadStopwords("D:\\project\\digital_marketing\\src\\main\\resources\\停用词.txt");
// 统计词频
int count = 0;

Loading…
Cancel
Save