NAME
Lingua::EN::ABC - American, British, and Canadian English
SYNOPSIS
use Lingua::EN::ABC ':all';
my $colour = a2b ('color');
DESCRIPTION
FUNCTIONS
a2b
my $british = a2b ('color');
# $british = 'colour'.
An option oxford
controls whether to use Oxford spelling (realize rather than realise):
my $oxford_british = c2b ($canadian, oxford => 1);
b2a
my $american = b2a ('the colour of my pyjamas');
# $american = 'the color of my pajamas'
Convert British spellings into American spellings.
a2c
my $canadian = a2c ('the color');
# $canadian = 'the colour'
Convert American to Canadian spelling.
c2a
my $american = c2a ('the color');
# $american = 'the colour'
Convert Canadian to American spelling.
b2c
my $canadian = b2c ('the programme');
# $canadian = 'the program'
Convert British to Canadian spelling.
c2b
my $british = c2b ($canadian);
Convert Canadian to British spelling. An option oxford
controls whether to use Oxford spelling (realize rather than realise):
my $oxford_british = c2b ($canadian, oxford => 1);
AUTHOR
Ben Bullock, <bkb@cpan.org>
LICENCE
This program and associated files may be used, copied, distributed, and modified under the same terms as Perl itself.