mirror of
https://github.com/fumiama/jieba.git
synced 2026-06-09 19:20:26 +08:00
removed unused idx parameter from Calc function, this is correpsonding to jieba commit #8a2e7f0e7ed205429ae545f5b875af4eaa8490d1
This commit is contained in:
@@ -28,7 +28,6 @@ func (t Trie) MarshalBinary() ([]byte, error) {
|
||||
var b bytes.Buffer
|
||||
enc := gob.NewEncoder(&b)
|
||||
err := enc.Encode(t.Nodes.ToSlice())
|
||||
log.Println(err)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user