Project

romaji

0.16
No release in over 3 years
Low commit activity in last 3 years
Yet another Romaji-Kana transliterator
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.0.3
>= 1.0.1
>= 0.7.0
>= 0
>= 2.8.0

Runtime

>= 0.8.0
 Project Readme

Romaji

Build Status Coverage Status

Yet another Romaji-Kana transliterator.

Installation

$ gem install romaji

Usage

require "romaji"
Romaji.kana2romaji "スシ" #=> "sushi"
Romaji.romaji2kana "sushi" #=> "スシ"
Romaji.romaji2kana "sushi", :kana_type => :hiragana #=> "すし"

require "romaji/core_ext/string"
"sushi".kana #=> "スシ"
"スシ".romaji #=> "sushi"
a = "sushi"
a.kana!
p a #=> "スシ"
a.romaji!
p a #=> "sushi"

Author

Shimpei Makimoto

Licence

MIT