ironsand / kanayomi

A tool to convert English words to katakana(Japanese alphabets) reading.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kanayomi

A tool to convert English words to katakana(Japanese alphabets) reading.

Installation from Source

You need to clone the repository and compile it.

git clone https://github.com/ironsand/kanayomi.git
cd kanayomi
go build -o kanayomi main.go bep_dic.go
sudo mv kanayomi /usr/local/bin/

Change /usr/local/bin suitable for your environments.

How to use

The command takes a english word as an argument and returns katakana. If corresponding katakana doesn't exist it returns nothing.

$ kanayomi english
イングリッシュ
$ kanayomi word_not_exist
$ 

Licence

Originally the code is written by @metropolis in Stackoverlow

The translation data bep-eng.dic is from Bilingual Emacspeak Project

About

A tool to convert English words to katakana(Japanese alphabets) reading.

License:GNU General Public License v2.0


Languages

Language:Go 100.0%