1
0
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:
Wang Bin
2015-03-28 15:49:32 +08:00
parent e11060513c
commit 79adffe328
5 changed files with 69 additions and 40 deletions

View File

@@ -17,3 +17,7 @@ func NewEntry() *Entry {
type DictLoader interface {
AddEntry(*Entry)
}
type Cacher interface {
CacheNameFormat() string
}