Vidyut

Welcome! This documentation describes the Python bindings for Vidyut, a Rust toolkit that provides reliable infrastructure for Sanskrit software. (For a quick demo of what Vidyut can do, see our WebAssembly bindings here.)

Vidyut aims to provide performant and high-quality solutions for the common problems that Sanskrit programmers face. These problems include:

  • Transliteration, or conversion of Sanskrit text from one script to another. (भूbhū)

  • Word generation, or converting bases and suffixes into complete words. (भूभवति)

  • Word lookup, or mapping a complete word back to its bases and suffixes. (भवतिभू)

  • Metrical analysis, or understanding the meter used by a piece of Sanskrit text.

  • Sandhi changes, or applying and undoing the sound changes that occur between pieces of Sanskrit text.

  • Segmentation, or splitting a piece of Sanskrit text into distinct words.

Vidyut is under active development as part of the Ambuda project. If you want to learn more about Vidyut or get involved, we encourage you to join our community of Sanskrit enthusiasts. All are welcome regardless of background.