Coder Social home page Coder Social logo

apertium-san's Introduction

Morphological analyser for Sanskrit
===================================

==Files==

* apertium-san.san.dix     - Sanskrit morphological dictionary
* apertium-san.ucs-wx.xml - Transliteration file

==Installation==

To compile it you need lttoolbox installed:

$ lt-comp lr apertium-san.san.dix san.automorf.bin

To use it:

$ echo "rAmeNa" | lt-proc -c san.automorf.bin 

You should get the output:

^rAmeNa/rAma<n><m><ins><sg>$

Note: the -c option is important to respect case.

To use the generator:

$ lt-comp rl apertium-san.san.dix san.autogen.bin

Then:

$ echo "^rAma<n><m><ins><sg>$" | lt-proc -c -g san.autogen.bin
rAmeNa

If you want to install it and have it to work
with apertium deformatters etc. you will need to have
apertium installed.

Just run:

./autogen.sh
./configure
make
make install

==Encoding==

The dictionary is in ASCII and uses the wx-notation. 

==Further reading==

You can find more information on lttoolbox on the Apertium
wiki: http://xixona.dlsi.ua.es/wiki/index.php/lttoolbox

apertium-san's People

Contributors

bentley avatar ftyers avatar jimregan avatar mr-martian avatar nlhowell avatar sushain97 avatar unhammer avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

apertium-san's Issues

Have a version of apertium-san.san.dix in Devanagari script

A Sanskrit letter/maatra corresponds to an English letter as defined in apertium-san.ucs-wx.xml. I understand why this is necessary, but it also decreases readability when a user wants towards contribute to expanding the apertium-san.san.dix, as the words are not in actual Devanagari script.

So maybe we should have a version of apertium-san.san.dix which has words in Devanagari script. You can update in the English version, if you want to add new words, and the changes are automatically reflected in the Sanskrit version.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.