mirror of
https://github.com/fumiama/jieba.git
synced 2026-06-24 05:06:23 +08:00
优化 dict, add fs.File 支持
This commit is contained in:
@@ -23,7 +23,7 @@ var (
|
||||
)
|
||||
|
||||
func TestTextRank(t *testing.T) {
|
||||
tr, err := NewTextRanker("../dict.txt")
|
||||
tr, err := NewTextRankerAt("../dict.txt")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user