Skip to content

Commit 05b6e7f

Browse files
committed
Fix test
1 parent bd0f413 commit 05b6e7f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/JiebaTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,10 @@ public function testExtractTags()
149149
"雖然"=>0.33675401416619716,
150150
"退縮"=>0.33675401416619716,
151151
"矯作"=>0.33675401416619716,
152-
"怯懦"=>0.27109891642140843,
153-
"滿肚"=>0.16837700708309858
152+
"怯懦"=>0.27109891642140843
154153
);
155154

156-
$top_k = 10;
155+
$top_k = 9;
157156
$content = file_get_contents(dirname(dirname(__FILE__))."/src/dict/lyric.txt", "r");
158157

159158
$tags = JiebaAnalyse::extractTags($content, $top_k);

0 commit comments

Comments
 (0)