Hi Yuval,
Well, if by transliteration you mean תעתיק of one human language to another
(not the UNIX tr command that blindly translates one character to another,
which is also implemented in Perl 5's tr/// and y/// operator and can be used
to do limited-to-ASCII rot13, lowercase/uppercase or switch-case or similar
things), then the only thing I know is this:
https://metacpan.org/release/Lingua-IT-Ita2heb
It's a CPAN module (based on Perl and Moose) that was originally written by
Amir Aharoni (CCed to this message) and which he and I refactored to use Moose
that transliterates from Italian to Hebrew (The code is modular but quite
complex , as natural language processing code goes). He considered adapting it
to transliterating to/from several other languages but it has not been done
yet. I should note that it may have originally been intended as something rather
limited for some work on Wikimedia projects, and may not have worked in the
general case.
Properly transliterating from Hebrew (at least in Ktiv Chasser - without
diacritics) or from English will be much harder than from Italian.
> for as many languages as possible, Hebrew included.
>
> Transliterate supports registering custom languages, and I can easily add
> Hebrew, but I'm wondering what other solutions I'm overlooking.
>
Now I see that it seems what you've shown was not exactly what linguists (and
non-software-developers) call transliteration:
https://en.wikipedia.org/wiki/Transliteration , but rather indeed something
like the UNIX tr command, which doesn't yield different text with the same
sound as the original, but in a different alphabet/script+language. If so, I may
suggest just implementing something similar yourself and sending a pull
request/patch/etc. for inclusion in the upstream project. That's because it
seems that implementing it yourself will be faster than waiting for something
similar to be found.
Regards,
Shlomi Fish
--
-----------------------------------------------------------------
Shlomi Fish
http://www.shlomifish.org/
First stop for Perl beginners -
http://perl-begin.org/
And truth be told, I miss you.
And truth be told, I’m lying.
— The All American Rejects, “Gives You Hell”
Please reply to list if it's a mailing list post -
http://shlom.in/reply .