Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Convert any hiragana characters in a string to katakana
ResourceFunction["ToKatakana"][string] yields a string in which all hiragana characters have been converted to katakana. |
Convert the first line of the Iroha:
In[1]:= |
Out[1]= |
Convert a list of hiragana strings:
In[2]:= |
Out[2]= |
Non-hiragana characters are not converted:
In[3]:= |
Out[3]= |
In[4]:= |
Out[4]= |
Generate the katakana syllabary from the hiragana syllabary:
In[5]:= |
Out[5]= |
The functions ToKatakana and ToHiragana are inverses of each other:
In[6]:= |
Out[6]= |
In[7]:= |
Out[7]= |
Wolfram Language 12.3 (May 2021) or above
This work is licensed under a Creative Commons Attribution 4.0 International License