1
0
mirror of https://github.com/fumiama/jieba.git synced 2026-06-30 00:50:30 +08:00

small refactor for function names

This commit is contained in:
Wang Bin
2015-02-26 17:38:26 +08:00
parent 2bda0be7c5
commit f6c298fc65
3 changed files with 21 additions and 25 deletions

View File

@@ -622,14 +622,14 @@ func init() {
}
func TestCutDAG(t *testing.T) {
result := cut_DAG("BP神经网络如何训练才能在分类时增加区分度")
result := cutDAG("BP神经网络如何训练才能在分类时增加区分度")
if len(result) != 11 {
t.Error(result)
}
}
func TestCutDAGNoHmm(t *testing.T) {
result := cut_DAG_NO_HMM("BP神经网络如何训练才能在分类时增加区分度")
result := cutDAGNoHMM("BP神经网络如何训练才能在分类时增加区分度")
if len(result) != 11 {
t.Error(result)
}