zabda-engine
v0.1.2
Published
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 un
Downloads
4
Readme
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
- inflectPhrase ( identifiers: string[] ): string
- 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