Part of the Search ecosystem · 124 projects
This module provides a way to normalize Japanese text for searching. It converts different forms of Japanese characters, like full-width or half-width letters and numbers, to a consistent format. This ensures that searches work correctly regardless of the character type used.
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.
In Japanese:
Search API Kana convert モジュールは Search API モジュール用に、日本語特有の問題である文字種別の表記揺れを一定のルールで変換して検索性能を向上させる機能を提供します。Drupal コアの Search モジュールや Search API の標準機能では、全角で入力されたアルファベットや数字などを半角の文字列で検索することができません。例えば全角で「ABC 123」と入力された文字列は半角で「ABC 123」と検索してもヒットしません。
このモジュールの機能によって検索インデックスの作成時および検索時に上記の様な全角・半角の文字種の違いを一定のルールで変換し、検索できるようにします。
Ask your assistant about Search API Kana Convert
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Search ecosystem
Most installed first