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

removed dict.go, functions move to util.go, also use interface to simplify code

This commit is contained in:
Wang Bin
2015-03-25 18:28:37 +08:00
parent 7fe5e7d4c4
commit 59da5b5e3a
7 changed files with 57 additions and 115 deletions

View File

@@ -14,7 +14,6 @@ func NewEntry() *Entry {
return &Entry{new(Pair), 0.0}
}
type Loader interface {
AddEntry(Entry)
CachePath(string) string
type DictLoader interface {
AddEntry(*Entry)
}