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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user