mirror of
https://github.com/fumiama/jieba.git
synced 2026-06-09 02:50:24 +08:00
优化 TextRanker float
This commit is contained in:
@@ -20,7 +20,7 @@ func Example_extractTags() {
|
||||
}
|
||||
|
||||
func Example_textRank() {
|
||||
t, err := LoadDictionary("../dict.txt")
|
||||
t, err := NewTextRanker("../dict.txt")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user