1
0
mirror of https://github.com/fumiama/jieba.git synced 2026-06-07 09:40:38 +08:00

try to refactor, not finished yet

This commit is contained in:
Wang Bin
2015-03-20 18:38:08 +08:00
parent 16929faf57
commit d257da40a7
3 changed files with 126 additions and 2 deletions

9
cache/cache.go vendored Normal file
View File

@@ -0,0 +1,9 @@
package cache
type Cacher interface {
SetDict(string) error
LoadUserDict(string) error
AddWord(string, string, float64)
Get(string) (float64, bool)
Total() float64
}