- Plugins and Integrations: other versions:
- Introduction to plugins
- Plugin Management
- API Extension Plugins
- Alerting Plugins
- Analysis Plugins
- Discovery Plugins
- Management and Site Plugins
- Mapper Plugins
- Scripting Plugins
- Security Plugins
- Snapshot/Restore Repository Plugins
- Transport Plugins
- Integrations
- Help for plugin authors
IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
kuromoji_baseform token filter
editkuromoji_baseform
token filter
editThe kuromoji_baseform
token filter replaces terms with their
BaseFormAttribute. This acts as a lemmatizer for verbs and adjectives.
PUT kuromoji_sample { "settings": { "index": { "analysis": { "analyzer": { "my_analyzer": { "tokenizer": "kuromoji_tokenizer", "filter": [ "kuromoji_baseform" ] } } } } } } POST kuromoji_sample/_analyze?analyzer=my_analyzer&text=飲み
# Result { "tokens" : [ { "token" : "飲む", "start_offset" : 0, "end_offset" : 2, "type" : "word", "position" : 1 } ] }
Was this helpful?
Thank you for your feedback.