Last updated 5 years ago
Was this helpful?
lowercasetokenizer (小写分词器),类似于 ,遇到非字母时分割文本,并将所有分割后的词元转为小写。功能上等同于 + ,但是由于单次执行了所有步骤,所以效率更高。
lowercase
POST _analyze { "tokenizer": "lowercase", "text": "The 2 QUICK Brown-Foxes jumped over the lazy dog's bone." }
上面的句子会生成如下的词元:
[ the, quick, brown, foxes, jumped, over, the, lazy, dog, s, bone ]
lowercase tokenizer(小写分词器) 不支持配置。
letter