Lingua-Deva

 view release on metacpan or  search on metacpan

lib/Lingua/Deva.pm  view on Meta::CPAN

        strict => 1,
        allow  => [ "\N{DEVANAGARI DANDA}" ],
        C      => do { $c{'w'} = delete $c{'v'}; \%c },
    );
    say $d->to_deva('ziwāya'); # 'zइवाय', warning for 'z'
    say $d->to_latin('सर्वम्।'); # 'sarwam।', no warnings

=head1 DESCRIPTION

The C<Lingua::Deva> module provides facilities for converting Sanskrit in
various Latin transliterations to Devanagari and vice-versa.  "Deva" is the
name for the Devanagari (I<devanāgarī>) script according to ISO 15924.

The facilities of this module are exposed through a simple interface in the
form of instances of the L<Lingua::Deva> class.  A number of configuration
options can be passed to it during initialization.

Using the module is as simple as creating a C<Lingua::Deva> instance and
calling its methods L<to_deva()> or L<to_latin()> with appropriate string
arguments.



( run in 1.995 second using v1.01-cache-2.11-cpan-71847e10f99 )