Skip to content

lipimala v1.2.0 — Natural Brahmic Readable Latin

Latest

Choose a tag to compare

@jayeshmepani jayeshmepani released this 14 Oct 11:54

lipimala 1.2.0

This release adds an opt-in natural reading for Devanagari and Gujarati. A call that stays on the 1.1 defaults keeps its previous Plain-English and Hunterian output.

Highlights

  • Opt into NATURAL readable style for Devanagari and Gujarati across Dart, JavaScript, Python, and PHP. LEGACY remains the default, so an existing 1.1 call keeps its previous output.
  • Choose vowel length per call: doubled letters (brahmaand), collapsed letters (brahmand), or SMART syllable spelling (aaj, swaroop, dharan, chaar). Sanskrit SMART keeps phonemic length (dharma, shvetadveepa).
  • Set pronunciation independently of the script. Hindi ऋतु is ritu; the same sign in Gujarati pronunciation is rutu. Natural spellings include श्वेतद्वीप / શ્વેતદ્વીપ → shwetdweep, स्वरूप / સ્વરૂપ → swaroop, and राष्ट्रपति → rashtrapati.
  • Keep Plain English and Hunterian distinct unless NATURAL and SMART are both set, in which case Gujarati Plain and Hunterian match. Hunterian is the simplified ASCII map-and-sign form (जान → jan), with no consonant dots. It does not emit the 1954 macron spelling (jān).
  • Add optional sentence-start capitalization and exact word overrides. New BrahmicPlainEnglishOptions fields are appended, so an existing positional constructor stays valid.
  • Keep canonical IAST, exact-source recovery, and direct Devanagari ↔ Gujarati conversion unchanged.

Install

dart pub add lipimala
npm install lipimala
pip install lipimala
composer require jayeshmepani/lipimala

See the README for runtime-specific examples and options.