devlipi 0.0.5 copy "devlipi: ^0.0.5" to clipboard
devlipi: ^0.0.5 copied to clipboard

Transliterate English text into Devanagari script with ease.

Devlipi #

Transliterate English text to Devanagari script (like हिंदी) — offline, fast, and easy to use.

Inspired by indic-transliteration (Python), this package helps convert English phonetic text to Devanagari (देवनागरी लिपि) for names, phrases, and common expressions.


✨ Features #

  • ✅ Offline transliteration
  • ✅ Fast and lightweight
  • ✅ Suitable for names, words, and short sentences
  • ✅ Inspired by indic_transliteration Python library

🚀 Installation #

Add this to your pubspec.yaml:

dependencies:
  devlipi: ^0.0.1
flutter pub add devlipi

Then run:

flutter pub get

🧠 Usage #

import 'package:devlipi/devlipi.dart';

void main() {
  String result = Devlipi.transliterate("Namaste");
  //or
  // String result = "Namaste".toDevanagari();
  print(result); // नमस्ते
}

🛠️ Notes #

  • This is a phonetic transliteration engine, not a translator.
  • Words are transliterated as pronounced in Indian English.
  • Accuracy may vary with long or complex sentences.
  • Custom word rules and improvements are planned in future versions.
0
likes
135
points
40
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Transliterate English text into Devanagari script with ease.

Homepage

License

MIT (license)

Dependencies

flutter

More

Packages that depend on devlipi