1
0
mirror of https://github.com/fumiama/jieba.git synced 2026-06-26 06:50:23 +08:00

优化 tokenizer

This commit is contained in:
源文雨
2022-11-30 15:39:50 +08:00
parent a433e052c5
commit 4d76899e79
2 changed files with 6 additions and 13 deletions

View File

@@ -7,9 +7,6 @@ import (
"github.com/blevesearch/bleve/registry"
)
type JiebaAnalyzer struct {
}
func analyzerConstructor(config map[string]interface{}, cache *registry.Cache) (*analysis.Analyzer, error) {
tokenizerName, ok := config["tokenizer"].(string)
if !ok {