タグ

japaneseに関するacotieのブックマーク (2)

  • tokuhirom blog

    Blog Search when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${entry.path} [in template "__entry.ftlh" at line 3, column 25] - Reached through: #include "__entry.ftlh" [in template "entry.ftlh" at

  • Lingua::JA::Hepburn::Passport でヘボン式ローマ字変換: blog.bulknews.net

    Lingua::JA::Hepburn::Passport でヘボン式ローマ字変換 ひらがな/カタカナからヘボン式ローマ字に変換するモジュール をリリースしました。 同じようなことをするモジュールは Lingua::JA::Romaji, Linguua::JA::Romanize::Kana, Text::Kakasi といろいろあるんですが、日の外務省パスポートのルール にあるヘボン式に則ったものは1個もなかったので車輪の再発明。 use utf8; use Lingua::JA::Hepburn::Passport; my $hepburn = Lingua::JA::Hepburne::Passport->new; $hepburn->romanize("みやがわ"); # MIYAGAWA $hepburn->romanize("おおの"); # ONO $hepburn->r

  • 1