add function to convert query to hiragana and katakana