Jump to content

Module:Hepburner/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
edit examples (which double serve as test cases)
new example for a new case
Line 13: Line 13:
<nowiki>{{#invoke:Hepburner|toHepburn|いきましょう}}</nowiki> => {{#invoke:Hepburner|toHepburn|いきましょう}}<br>
<nowiki>{{#invoke:Hepburner|toHepburn|いきましょう}}</nowiki> => {{#invoke:Hepburner|toHepburn|いきましょう}}<br>
<nowiki>{{#invoke:Hepburner|toHepburn|ちゅうにびょう}}</nowiki> => {{#invoke:Hepburner|toHepburn|ちゅうにびょう}}<br>
<nowiki>{{#invoke:Hepburner|toHepburn|ちゅうにびょう}}</nowiki> => {{#invoke:Hepburner|toHepburn|ちゅうにびょう}}<br>
<nowiki>{{#invoke:Hepburner|toHepburn|つづく}}</nowiki> => {{#invoke:Hepburner|toHepburn|つづく}}<br>

<b>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.</b>
<b>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.</b>

Revision as of 06:19, 8 March 2024

Romanizes double vowels per the standard outlined in Hepburn Romanization.

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.