romaji is a bi-directional translator for Katakana and Romaji.
package main
import "github.com/yosida95/romaji"
func main() {
kana := "トウキョウ"
roman := romaji.FromKanaHepburn(kana)
fmt.Printf("%q -> %q\n", kana, roman)
// Output:
// "トウキョウ" -> "TOKYO"
}
romaji is distributed under the BSD 3-Clause license. PLEASE READ ./LICENSE carefully and follow its clauses to use this software.