1
0
mirror of https://github.com/fumiama/jieba.git synced 2026-06-13 05:31:02 +08:00

优化 TextRanker float

This commit is contained in:
源文雨
2022-11-30 13:15:12 +08:00
parent a8d1e81f73
commit ae85ccb20a
3 changed files with 12 additions and 12 deletions

View File

@@ -23,7 +23,7 @@ var (
)
func TestTextRank(t *testing.T) {
tr, err := LoadDictionary("../dict.txt")
tr, err := NewTextRanker("../dict.txt")
if err != nil {
t.Fatal(err)
}