NAME

Text::Metaphone::Amharic - The Metaphone Algorithm for Amharic.

SYNOPSIS

use utf8;
require Text::Metaphone::Amharic;

my $mphone = new Text::Metaphone::Amharic;

my @keys  = $mphone->metaphone ( "ሥላሴ" );

foreach (@keys) {
    print "$_\n";
}

my $key = $mphone->metaphone ( "��ይ" );
print "key => $key\n";

$mphone->style ( "ipa" );

@keys  = $mphone->metaphone ( "ሥላሴ" );

foreach (@keys) {
    print "$_\n";
}

$mphone->style ( "ethiopic" );
  :
  :

DESCRIPTION

The Text::Metaphone::Amharic module is a reimplementation of the Amharic Metaphone algorithm of the Text::TransMetaphone package. This implementation uses an object oriented interface and will generate keys in Ethiopic script by default. IPA keys remain available and may be set at instantiation time or afterwards with the "style" method.

Like Text::TransMetaphone::am the terminal key returned under list context is a regular expression. Amharic character classes will be applied in the RE key as per the conventions of Regexp::Ethiopic::Amharic.

A reverse_key_ipa method is also provided to convert an IPA symbol key into a regular expression that would phonological sequence under Amharic orthography.

STATUS

The Amharic module has awareness of common mispelling in Amharic, perhaps too much awareness, the module will produce a high number of keys.

REQUIRES

Regexp::Ethiopic.

COPYRIGHT

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

BUGS

None presently known.

AUTHOR

Daniel Yacob, Yacob@EthiopiaOnline.Net

SEE ALSO

Text::TransMetaphone

1 POD Error

The following errors were encountered while parsing the POD:

Around line 330:

Non-ASCII character seen before =encoding in '"ሥላሴ"'. Assuming CP1252