Romaji

NAME

Lang::JA::Kana::Romaji - Convert Kana to Romaji using various romanization systems

SYNOPSIS


use Lang::JA::Kana::Romaji;

# Traditional Hepburn romanization (default)
say kana-to-romaji("ใ“ใ‚“ใซใกใฏ");  # Output: konnichiwa
say kana-to-romaji("ใจใ†ใใ‚‡ใ†");  # Output: toukyou

# Modified Hepburn with macrons
say kana-to-romaji("ใจใ†ใใ‚‡ใ†", :system<hepburn-mod>);  # Output: tลkyล

# Kunrei-shiki romanization
say kana-to-romaji("ใ—ใ‚“ใถใ‚“", :system<kunrei>);  # Output: sinbun

# Nihon-shiki romanization
say kana-to-romaji("ใฅใคใ", :system<nihon>);  # Output: dutuki

DESCRIPTION

Lang::JA::Kana::Romaji provides conversion from Japanese Kana (Hiragana and Katakana) to Romaji using three major romanization systems:

- Traditional Hepburn (default): Most common system, closest to English pronunciation, uses "ou" and "oo" - Modified Hepburn (:system<hepburn-mod>): Same as Traditional Hepburn but uses macrons (ล) for long vowels - Kunrei-shiki: ISO 3602 standard system - Nihon-shiki: Preserves Japanese phonological distinctions

Note: This module only handles Kana conversion, not Kanji or mixed Kanji+Kana words. Kanji characters are passed through unchanged.

AUTHOR

Danslav Slavenskoj

COPYRIGHT AND LICENSE

Copyright 2025 Danslav Slavenskoj

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.

Lang::JA::Kana v1.2.1

Japanese Hiragana and Katakana conversion utilities

Authors

  • Danslav Slavenskoj

License

Artistic-2.0

Dependencies

Test Dependencies

Provides

  • Lang::JA::Kana
  • Lang::JA::Kana::Hangul
  • Lang::JA::Kana::Kuriru-moji
  • Lang::JA::Kana::Romaji

The Camelia image is copyright 2009 by Larry Wall. "Raku" is a trademark of the Yet Another Society. All rights reserved.

Built with Podlite โ€” the markup and publishing tools behind this site.