mirror of
https://github.com/fumiama/jieba.git
synced 2026-07-01 01:20:29 +08:00
tweak style
This commit is contained in:
@@ -5,7 +5,7 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
seg *Segmenter
|
||||
seg Segmenter
|
||||
test_contents = []string{
|
||||
"这是一个伸手不见五指的黑夜。我叫孙悟空,我爱北京,我爱Python和C++。",
|
||||
"我不喜欢日本和服。",
|
||||
@@ -269,7 +269,6 @@ var (
|
||||
)
|
||||
|
||||
func init() {
|
||||
seg = New()
|
||||
seg.LoadDictionary("../dict.txt")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user