Lingua:...:Tables(3)

πŸ¦‹ Lingua:...:Tables(3) β€” User Contributed Perl Documentation πŸ¦‹

okay so bestie, this is the Lingua:...:Tables(3) page, and it’s giving User Contributed Perl Documentation realness ✨ buckle up, we’re getting into transliteration tables and it’s actually iconic πŸ’…


πŸŽ€ NAME πŸŽ€

Lingua::Translit::Tables β€” provides transliteration tables 🫢


🌸 SYNOPSIS 🌸

  use Lingua::Translit::Tables qw/:checks/;

  my $truth;

  $truth = translit_supported("ISO 9");
  $truth = translit_reverse_supported("ISO 9");

  use Lingua::Translit::Tables qw/:list/;

  translit_list_supported();

πŸ’– DESCRIPTION πŸ’–

This module is primary used to provide transliteration tables for Lingua::Translit and therefore allows one to separate data and algorithm. no cap, that separation is the whole vibe πŸ’«

Beyond that, it provides routines to check if a given transliteration is supported and allows one to print a simple list of supported transliterations along with some meta information. lowkey useful, highkey cute πŸŽ€


✨ EXPORTS ✨

No symbols are exported by default.

Use either the routine’s name or one of the following tags to import symbols to your namespace.

  • all β€” Import all routines. the whole squad πŸ‘‘
  • checks β€” Import all routines that allow one to check if a given transliteration is supported: translit_supported() and translit_reverse_supported(). vibe check energy πŸ”₯
  • list β€” Import translit_list_supported(). (Convenience tag) the list bestie 🌈

🧚 ROUTINES 🧚

translit_supported(translit_name)

Returns true (1), iff translit_name is supported. False (0) otherwise. simple as that, bestie πŸ’…

translit_reverse_supported(translit_name)

Returns true (1), iff translit_name is supported and allows reverse transliteration. False (0) otherwise. reverse girlie behavior πŸ”βœ¨

translit_list_supported()

Prints a list of all supported transliterations to STDOUT (UTF-8 encoded), providing the following information:

  • Name
  • Reversibility
  • Description

The same information is provided in this document as well:


🌈 SUPPORTED TRANSLITERATIONS 🌈

Cyrillic πŸ’œ

  • ALA-LC RUS β€” not reversible, ALA-LC:1997, Cyrillic to Latin, Russian
  • ISO 9 β€” reversible, ISO 9:1995, Cyrillic to Latin
  • ISO/R 9 β€” reversible, ISO 9:1954, Cyrillic to Latin
  • DIN 1460 RUS β€” reversible, DIN 1460:1982, Cyrillic to Latin, Russian
  • DIN 1460 UKR β€” reversible, DIN 1460:1982, Cyrillic to Latin, Ukrainian
  • DIN 1460 BUL β€” reversible, DIN 1460:1982, Cyrillic to Latin, Bulgarian
  • Streamlined System BUL β€” not reversible, The Streamlined System: 2006, Cyrillic to Latin, Bulgarian
  • GOST 7.79 RUS β€” reversible, GOST 7.79:2000 (table B), Cyrillic to Latin, Russian
  • GOST 7.79 RUS OLD β€” not reversible, GOST 7.79:2000 (table B), Cyrillic to Latin with support for Old Russian (pre 1918), Russian
  • GOST 7.79 UKR β€” reversible, GOST 7.79:2000 (table B), Cyrillic to Latin, Ukrainian
  • BGN/PCGN RUS Standard β€” not reversible, BGN/PCGN:1947 (Standard Variant), Cyrillic to Latin, Russian
  • BGN/PCGN RUS Strict β€” not reversible, BGN/PCGN:1947 (Strict Variant), Cyrillic to Latin, Russian

Greek πŸ¦‹

  • ISO 843 β€” not reversible, ISO 843:1997, Greek to Latin
  • DIN 31634 β€” not reversible, DIN 31634:1982, Greek to Latin
  • Greeklish β€” not reversible, Greeklish (Phonetic), Greek to Latin

Latin 🌸

  • Common CES β€” not reversible, Czech without diacritics
  • Common DEU β€” not reversible, German without umlauts
  • Common POL β€” not reversible, Unaccented Polish
  • Common RON β€” not reversible, Romanian without diacritics as commonly used
  • Common SLK β€” not reversible, Slovak without diacritics
  • Common SLV β€” not reversible, Slovenian without diacritics
  • ISO 8859-16 RON β€” reversible, Romanian with appropriate diacritics

Arabic πŸ“

  • Common ARA β€” not reversible, Common Romanization of Arabic

Sanskrit ⭐

  • IAST Devanagari β€” not reversible, IAST Romanization to DevanāgarΔ«
  • Devanagari IAST β€” not reversible, DevanāgarΔ« to IAST Romanization

πŸ› οΈ ADDING NEW TRANSLITERATIONS πŸ› οΈ

In case you want to add your own transliteration tables to Lingua::Translit, have a look at the developer documentation at <https://www.netzum-sorglos.de/software/lingua-translit/developer-documentation.html>. it’s giving β€œbuild your own era” ✨

A template of a transliteration table is provided as well (xml/template.xml) so you can easily start developing. starter pack, but make it transliteration 🎁


πŸ’€ BUGS πŸ’€

None known. iconic, honestly 😌

Please report bugs using CPAN’s request tracker at <https://rt.cpan.org/Public/Dist/Display.html?Name=Lingua-Translit>.


πŸ‘€ SEE ALSO πŸ‘€


🫢 CREDITS 🫢

Thanks to Dr. Daniel Eiwen, Romanisches Seminar, Universitaet Koeln for his help on Romanian transliteration.

Thanks to Dmitry Smal and Rusar Publishing for contributing the β€œALA-LC RUS” transliteration table.

Thanks to Ahmed Elsheshtawy for his help implementing the β€œCommon ARA” Arabic transliteration.

Thanks to Dusan Vuckovic for contributing the β€œISO/R 9” transliteration table.

Thanks to Ștefan Suciu for contributing the β€œISO 8859-16 RON” transliteration table.

Thanks to Philip Kime for contributing the β€œIAST Devanagari” and β€œDevanagari IAST” transliteration tables.

Thanks to Nikola LečiΔ‡ for contributing the β€œBGN/PCGN RUS Standard” and β€œBGN/PCGN RUS Strict” transliteration tables.


πŸ‘‘ AUTHORS πŸ‘‘

  • Alex Linke <alinke@netzum-sorglos.de>
  • Rona Linke <rlinke@netzum-sorglos.de>

Copyright (C) 2007-2008 Alex Linke and Rona Linke

Copyright (C) 2009-2016 Lingua-Systems Software GmbH

Copyright (C) 2016-2017 Netzum Sorglos, Lingua-Systems Software GmbH

Copyright (C) 2017-2022 Netzum Sorglos Software GmbH

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


mwah πŸ’‹ this little page came from perl v5.42.0, dated 2022-06-16, and it’s the Lingua:...:Tables(3) manual β€” bye bestie, go transliterate something cute 🫢✨

πŸ“¦ where this page comes from