Module:Hepburner/doc

From Wikipedia, the free encyclopedia

Romanizes double vowels per the standard outlined in Hepburn Romanization.
Implemented in Template:Hepburn - Please use this instead of using this directly. It enforces subst for this *very* costly module.

Any double vowels will get converted to a long vowel, ou will get converted to ō.

{{#invoke:Hepburner|toHepburn|Kinou}} => Kinō
{{#invoke:Hepburner|toHepburn|Ooki}} => Ōki
{{#invoke:Hepburner|toHepburn|kara-age}} => kara-age
{{#invoke:Hepburner|toHepburn|sakkaa}} => sakkā
{{#invoke:Hepburner|toHepburn|raamen}} => rāmen
{{#invoke:Hepburner|toHepburn|ヴィデオ}} => video
{{#invoke:Hepburner|toHepburn|いこう}} => ikō
{{#invoke:Hepburner|toHepburn|やった}} => yatta
{{#invoke:Hepburner|toHepburn|いきましょう}} => ikimashō
{{#invoke:Hepburner|toHepburn|ちゅうにびょう}} => chūnibyō
{{#invoke:Hepburner|toHepburn|つづく}} => tsudzuku
note: oU aA or the like will break it. You should never, ever, ever do this regardless, but note that is a limitation. If you need that, add it to the list, following the current pattern.