Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.12 KB

README.md

File metadata and controls

27 lines (18 loc) · 1.12 KB

Katakana

English to Katakana using a Sequence-to-Sequence model.

To learn more about how to train the model, checkout these resources:

Please also feel free to download the English-Katakana dataset to train you own models here

Use pre-trained model as a library

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 to_katakana 

to_katakana('katakana')
# u'\u30ab\u30bf\u30ab\u30ca' or カタカナ