Skip to content

Instantly share code, notes, and snippets.

@nipotan
Created October 31, 2012 06:42
Show Gist options
  • Save nipotan/3985490 to your computer and use it in GitHub Desktop.
Save nipotan/3985490 to your computer and use it in GitHub Desktop.
ittanda-a to chitanda-l
#!/usr/bin/env perl
use strict;
use warnings;
use utf8;
use Lingua::JA::Numbers;
use Lingua::JA::Alphabet::Yomi qw(alphabet2yomi);
use Lingua::JA::Moji qw(kata2hira);
binmode STDOUT, ':utf8';
for my $i (1 .. 1000) {
my $c = chr(($i - 1) % 26 + 65);
printf "%s反田%s\n", num2ja($i), kata2hira(alphabet2yomi($c));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment