The Search API Kana convert module provides a processor plugin for the Search API module. It's basically a wrapper of PHP mb_convert_kana function which allows Japanese character types(zenkaku, hankaku, hiragana, katakana) to be converted from one another.
The Search API Kana convert module provides a processor plugin for the Search
API module. It's basically a wrapper of PHP mb_convert_kana function which
allows Japanese character types(zenkaku, hankaku, hiragana, katakana) to be
converted from one another.
USE CASES
------------
- Normalize the data so the same words in different word types can be matched. (E.g convert "ABC 123" to "ABC 123" or "ひと" to "ヒト".)
- convert full-width space " " to half-width space " " so the data can be properly splitted by tokenizer.
- Normalize the data so the same words in different word types can be matched.
(E.g convert "ABC 123" to "ABC 123" or "ひと" to "ヒト".)
- convert full-width space " " to half-width space " " so the data can be
- If "Tokenizer" is enabled, place "Kana convert" above Tokenizer in the "Processor Order" section.
- Set the options accordingly in the "Kana convert" settings section.The default setup is usually fine. See the mb_convert_kana function documentation for more configuration options. https://www.php.net/manual/en/function.mb-convert-kana.php
- If "Tokenizer" is enabled, place "Kana convert" above Tokenizer in the
"Processor Order" section.
- Set the options accordingly in the "Kana convert" settings section. The
default setup is usually fine. See the mb_convert_kana function