The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Lingua::IT::Ita2heb::LettersSeq::IT::ToHeb - Italian-to-Hebrew specific subclass of Lingua::IT::Ita2heb::LettersSeq::IT

DESCRIPTION

A converter of letters from Italian to Hebrew.

VERSION

Version 0.01

SYNOPSIS

    use Lingua::IT::Ita2heb::LettersSeq::IT::ToHeb;

    my $seq = Lingua::IT::Ita2heb::LettersSeq::IT::ToHeb->new(
        {
            ita_letters => \@ita_letters,
            disable_rafe => ($option{disable_rafe} ? 1 : 0),
            disable_dagesh => ($option{disable_dagesh} ? 1 : 0),
        }
    );

METHODS

$seq->all_hebrew_vowels()

Returns an array ref of all Hebrew vowels.

$seq->add_heb_final($non_final, $final)

Adds the Hebrew as given by $non_final and $final by first calling ->heb() on them.

$seq->add_heb($latinized_spec)

Adds the Hebrew Latinized spec $latinized_spec after converting it to the Hebrew glyphs.

$seq->dagesh_enabled

The opposite of $seq->disable_dagesh .

$seq->handled_letters()

Returns a lookup table of the letters that the object can handle.

$seq->handle_letter($letter)

Handles the Latin letter $letter.

$seq->requires_dagesh_phonetic()

Whether the current letter requires a dagesh phonetic (b or p).

$seq->text_to_add_requires_dagesh_lene()

$seq->should_add_dagesh()

This predicate determines if a dagesh is needed to be added after the current letter.

$seq->add_dagesh_if_needed()

determines if a dagesh is needed and if so adds it.

$seq->before_switch()

do all the relevant operations before the given/when on the $ita_letter .

$seq->perform_switch()

Perform the switch itself.

$seq->after_switch()

Do all the relevant operations after the given/when on the $ita_letter .

$seq->main_loop()

Loop over the letters and process them.

$seq->maqaf()

Returns the Maqaf that should be used according to the options.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Lingua::IT::Ita2heb::LettersSeq::IT

You can also look for information at:

LICENSE AND COPYRIGHT

Copyright 2011 Amir E. Aharoni.

This program is free software; you can redistribute it and modify it under the terms of either:

  • the GNU General Public License version 3 as published by the Free Software Foundation.

  • or the Artistic License version 2.0.

See http://dev.perl.org/licenses/ for more information.

AUTHOR

Amir E. Aharoni, <amir.aharoni at mail.huji.ac.il> and Shlomi Fish ( http://www.shlomifish.org/ ).