mirror of
https://github.com/fumiama/jieba.git
synced 2026-06-26 06:50:23 +08:00
优化 tokenizer
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user