Encode::Arabic::Franco - Turns Franco-/Chat-Arabic into actual Arabic letters
use Encode::Arabic::Franco; while ($line = <>) { print decode 'franco-arabic', $line; # 'Franco-Arabic' alias 'Arabizy' } # oneliner $ perl -CS -MEncode::Arabic::Franco -pe '$_ = decode "arabizy", $_'
Franco-Arabic, aka Chat Arabic, Arabizy, is a transliteration of Arabic, commonly used on the internet. It restricts itself to the ASCII charset and substitutes numbers for the Arabic characters which have no equivalent in Latin.
Franco-Arabic is not standardized. This module is far from complete.
Currently nothing more than a chain of tricks à la:
tr
$str =~ s/3'/غ/g; $str =~ s/7'/خ/g;
http://github.com/athreef/Encode-Arabic-Franco
Encode, Encode::Encoding, Encode::Arabic,
Wikipedia article on Franco Arabic https://en.wikipedia.org/wiki/Arabic_chat_alphabet
Buckwalter Arabic Morphological Analyzer http://www.ldc.upenn.edu/Catalog/CatalogEntry.jsp?catalogId=LDC2002L49 (Might be employed in future)
Ahmad Fatoum <athreef@cpan.org>, http://a3f.at
<athreef@cpan.org>
Copyright (C) 2016 Ahmad Fatoum
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Encode::Arabic::Franco, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Encode::Arabic::Franco
CPAN shell
perl -MCPAN -e shell install Encode::Arabic::Franco
For more information on module installation, please visit the detailed CPAN module installation guide.