This commit is contained in:
2026-04-09 00:59:11 +08:00
parent 7406cbf952
commit 7b544c27b3
+1 -1
View File
@@ -127,7 +127,7 @@ func main() {
// --entryBFS 爬取的起始 URL,默认使用 config.EntryURL()(维基百科中文首页) // --entryBFS 爬取的起始 URL,默认使用 config.EntryURL()(维基百科中文首页)
entryURL := flag.String("entry", config.EntryURL(), "BFS crawl entry URL") entryURL := flag.String("entry", config.EntryURL(), "BFS crawl entry URL")
// --stopwords:屏蔽词 JSON 文件路径 // --stopwords:屏蔽词 JSON 文件路径
stopWords := flag.String("stopwords", "../data/标点符号.json", "path to stop-words JSON") stopWords := flag.String("stopwords", "/savedata/标点符号.json", "path to stop-words JSON")
flag.Parse() flag.Parse()
// 设置日志格式:时间戳 + 短文件名 // 设置日志格式:时间戳 + 短文件名