MILA::Transliterate is a Perl Module for transliterating text from Hebrew to various transliterations used in the Knowledge Center for Processing Hebrew (MILA) and vise versa.
use MILA::Transliterate qw((hebrew2treebank hebrew2erel hebrew2fsma);
my $erel_transliterated = hebrew2erel($utf8_encoded_hebrew_text);
my $treebank_transliterated = hebrew2treebank($utf8_encoded_hebrew_text);
my $fsma_transliterated = hebrew2fsma($utf8_encoded_hebrew_text);
# note that the reverse transliteration does NOT maintain final Hebrew letters!
Before UNICODE was widely used, applications that were manipulating Hebrew text usually used some transliteration into ASCII characters instead of using Hebrew letters. This was particularly true for software developed in the academia. MILA is a nick name for the Knowledge Center for Processing Hebrew (see: http://mila.cs.technion.ac.il/).
This knowledge center develops software and standards that result from research in natural language processing for Hebrew. As a result, some legacy software also needs to be maintained and such legacy software usually used transliteration.
This module contains mapping from UTF-8 encoded Hebrew to the various transliteration schemes that MILA needs to support and also contains the reversed mapping.