up
This commit is contained in:
@@ -127,7 +127,7 @@ func main() {
|
||||
// --entry:BFS 爬取的起始 URL,默认使用 config.EntryURL()(维基百科中文首页)
|
||||
entryURL := flag.String("entry", config.EntryURL(), "BFS crawl entry URL")
|
||||
// --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()
|
||||
|
||||
// 设置日志格式:时间戳 + 短文件名
|
||||
|
||||
Reference in New Issue
Block a user