English to Katakana using a Sequence-to-Sequence model.
To learn more about how to train the model, checkout these resources:
- English to Katakana using Sequence to Sequence in Tensorflow
- English to Katakana using Sequence to Sequence in Pytorch
Please also feel free to download the English-Katakana dataset to train you own models here
Warning: The pre-trained is a small network and not properly trained. It's not production ready and should be used just for demonstration propose.
pip install --upgrade git+https://github.com/wanasit/katakana.git
There is to_katakana
function that takes English string as an input and return Katakana (unicode) as an output.
from katakana import convert_to_katakana
convert_to_katakana('katakana')
# u'\u30ab\u30bf\u30ab\u30ca' or カタカナ