node.js Sanskrit tiNanta analyser
tiNanta analyser gets array of wordforms and return array of queries for (in my case) CouchDB.
tiNanta analyser is based on results of a remarkable program 'SanskritVerb' developed by Dr. Dhaval Patel & Dr. Sivakumari Katuri. But tiNanta.js solves the inverse problem - it restores a dhatu for any final wordform.
look: http://sanskritworld.in/sanskrittool/SanskritVerb/tiGanta.html
tiNanta analyser creates beforehand the database 'sa-tins' for all endings of any wordform and for all angas for any dhatu, and then works with this db.
$ node run.js आकिष्टाम् -[devel]parsing: AkizwAm आकिष्टाम्[
Installation
With node.js:
$ npm install tiNanta
also you should clone CouchDB named sa-tins:
http://diglossa.org:5984/_utils/index.html
API
var tiNanta = ;
tiNanta
console
run.js is for convenient purpuses only and takes only one wordform as input:
it takes slp1, (slp1 goes only in console):
node run.js karoti
or devanagari as well:
node run.js करोति
Running node tests
tiNanta.js has 245 056 tests. So it takes some time to run ok.
$ make test
License
GNU GPL