1
0
mirror of https://github.com/fumiama/jieba.git synced 2026-06-12 05:00:24 +08:00

优化 Segmenter

This commit is contained in:
源文雨
2022-11-30 15:27:46 +08:00
parent b2508252d5
commit 7c685f789e
8 changed files with 203 additions and 249 deletions

View File

@@ -10,8 +10,7 @@ import (
"strings"
)
// DictLoader is the interface that could add one token or load
// tokens from channel.
// DictLoader is the interface that could add one token or load tokens
type DictLoader interface {
Load(...Token)
AddToken(Token)