Skip to content

simple practical samAsa parser and morph analyzer for Sanskrit

Notifications You must be signed in to change notification settings

mbykov/morpheus-sanskrit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple practical samAsa parser and morph analyzer for Sanskrit

beta, under heavy development - http://sa.diglossa.org

v. 0.4.0, 'विश्रम', i.e. - relax

Installation

With node.js:

$ git clone github.com/mbykov/morpheus
$ cd morpheus
$ npm install

API

var morph = require('morpheus');
morph.run(samasa, null, function(res) {
        console.log(res);
    });

Bash

only for testing and developing:

$ cd ~/bin
$ ln -s ~/path/to/morpheus/morph morph

everywhere:

$ morph run अभिहता

morph takes slp1 for convenience:

$ morph run aBihatA

=>

morph-0.4 res: ==============>>
{ queries:
   [ { ind: true,
       type: 'Apte',
       query: 'अभि',
       slp: 'aBi',
       dicts: [ '34bc2835df6c6c1e41c2d71ac6f66d53' ] },
etc, etc, etc,
  pdchs: [ [ 'अभि', 'हता' ] ] }
morph: 177.619ms

also, $ morph get simply gets dict from CouchDB by

License

GNU GPL

About

simple practical samAsa parser and morph analyzer for Sanskrit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages