mirror of
https://github.com/fumiama/jieba.git
synced 2026-06-05 00:32:51 +08:00
added a new interface for caching
This commit is contained in:
@@ -17,3 +17,7 @@ func NewEntry() *Entry {
|
||||
type DictLoader interface {
|
||||
AddEntry(*Entry)
|
||||
}
|
||||
|
||||
type Cacher interface {
|
||||
CacheNameFormat() string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user