We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd0f413 commit 05b6e7fCopy full SHA for 05b6e7f
test/JiebaTest.php
@@ -149,11 +149,10 @@ public function testExtractTags()
149
"雖然"=>0.33675401416619716,
150
"退縮"=>0.33675401416619716,
151
"矯作"=>0.33675401416619716,
152
- "怯懦"=>0.27109891642140843,
153
- "滿肚"=>0.16837700708309858
+ "怯懦"=>0.27109891642140843
154
);
155
156
- $top_k = 10;
+ $top_k = 9;
157
$content = file_get_contents(dirname(dirname(__FILE__))."/src/dict/lyric.txt", "r");
158
159
$tags = JiebaAnalyse::extractTags($content, $top_k);
0 commit comments