0.1.2 • Published 5 years ago

zabda-engine v0.1.2

Weekly downloads
3
License
ISC
Repository
github
Last release
5 years ago

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

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.1

5 years ago