Japanese romanization library for mruby
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bintest
mrblib
test
tools/mruby-romajify
.gitignore
.travis.yml
Dockerfile
LICENSE
README.md
Rakefile
build_config.rb
docker-compose.yml
mrbgem.rake

README.md

mruby-romajify

Build Status License

Japanese romanization library for mruby

This library is an mruby implementation of the romajify.

Installation

For Command Line Interface

Binary files for OS X and Linux (NOT for Windows) are provided.

  1. Download the zip file
  2. Extract it
  3. Put the binary file to the directory you want
  4. Add the directory to the PATH environment variable

For mruby Source Code

Add this line to your build_config.rb:

conf.gem github: 'emsk/mruby-romajify'

Or add this line to your mrbgem.rake:

spec.add_dependency 'mruby-romajify'

Usage

For Command Line Interface

$ mruby-romajify hepburn すし
sushi

Run mruby-romajify help for more details.

For mruby Source Code

puts MrubyRomajify::Converter.hepburn('すし')

See romajify's README for more details.

License

MIT