/romaji

bi-directional translator for Katakana and Romaji

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

romaji

romaji is a bi-directional translator for Katakana and Romaji.

Example

package main

import "github.com/yosida95/romaji"

func main() {
     kana := "トウキョウ"
     roman := romaji.FromKanaHepburn(kana)
     fmt.Printf("%q -> %q\n", kana, roman)

     // Output:
     // "トウキョウ" -> "TOKYO"
}

Documentation

License

romaji is distributed under the BSD 3-Clause license. PLEASE READ ./LICENSE carefully and follow its clauses to use this software.

Author

yosida95