zabda-engine
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

zabda-engine

Sanskrit is a very inflectional language and most words have dhatu (from a list of over 1000 words) or noun roots. The longer term goal of this library is to be able to identify words and provide a quick anlaysis or vigraha. The analysis will assist in understanding a word, its root (dhatu) or noun, and the "pratyaya" that are used to give it its form.

API

  1. inflectPhrase ( identifiers: string[] ): string
  2. extract ( identifier: string, property: string ): any

Identifiers

The Zabda Engine accepts words as identifiers in order to decline nouns/adjectives or conjugate verbs.

devAnAm => devAnAm(deva)SMNP6B

bhavati => bhavati(bhU|1.0001|P)LATPE

iti => (ti)AVY

bhavitum => bhavitum(bhavitum|bhU|1.0001|P)TUMAVY

aitihAsika => aitihAsikasya(aitihAsika|itihAsa)THKVSNP6E

Readme

Keywords

none

Package Sidebar

Install

npm i zabda-engine

Weekly Downloads

0

Version

0.1.2

License

ISC

Unpacked Size

9.92 MB

Total Files

26

Last publish

Collaborators

  • parthupadhye