Skip to content

Commit

Permalink
Version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
drdhaval2785 committed Aug 2, 2015
1 parent 83be24c commit 0d0d497
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 10 deletions.
43 changes: 34 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,51 @@
sanskrit
========
For using the code online:
#For using the code online:

Use http://lanover.com/lan/sanskrit/sandhi.html for sandhi generation.
use http://lanover.com/lan/sanskrit/subanta.html for subanta generation.

For using the code offline on your computer:
Use http://lanover.com/lan/sanskrit/subanta.html for subanta generation.

#For using the code offline on your computer:

1. Download the latest version of XAMPP from https://www.apachefriends.org/index.html

2. Install XAMPP.

3. Locate XAMPP directory. Usually it is c://xampp

4. go to xampp/htdocs directory.

5. Create a directory named sanskrit.

5. Copy paste the files mentioned in the next section in sanskrit directory. (This is one time job).

6. Go to xampp folder and click on xampp-control.

7. Click start for Apache, MySQL, Filezilla. (This you have to do all time you start your computer. This functions as server for your html and php files.)

For Sandhi generation -
#For Sandhi generation -

This is an attempt to create an open source sandhi joiner.

The text used is siddhAntakaumudI.

Install sandhi.html, sandhi.php, dev-slp.php, slp-dev.php, function.php and the mystyle.css in your localhost and run the sandhi.html.
Input your words - it will fetch the output from the PHP files and display it there.
For offline usage - please run localhost/sanskrit/sandhi.html from your browser.

For Subanta generation -
Install dev-slp.php, slp-dev.php, function.php, mystyle.css, subanta.html, subanta.php, ajax.php and script.js in your system and then input a word. Give the feedback if the machine asks for any. Then machine will give you derivation of all 21 vibhakti sets of that particular word.
For offline usage - please run localhost/sanskrit/subanta.html from your browser.
Input your words and provide necessary user input. Machine will fetch the output from the PHP files and display it on screen. Be patient. It may take nearly a minute or so.

##For offline usage -

please run localhost/sanskrit/sandhi.html from your browser.

#For Subanta generation -

Install dev-slp.php, slp-dev.php, function.php, mystyle.css, subanta.html, subanta.php, ajax.php and script.js in your system and then input a word.

Give the feedback if the machine asks for any.

Then machine will give you derivation of all 21 vibhakti sets of that particular word.

##For offline usage -

Please run localhost/sanskrit/subanta.html from your browser.
2 changes: 1 addition & 1 deletion subanta.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/* This code is developed by Dr. Dhaval Patel ([email protected]) of www.sanskritworld.in and Ms. Sivakumari Katuri.
* Layout assistance by Mr Marcis Gasuns.
* Available under GNU licence.
* Version 3.0 date 10 October 2014
* Version 1.0.0 date 2 August 2015
* The latest source code is available at https://github.com/drdhaval2785/sanskrit
* Acknowledgements: I extend my heartfelt thanks to Ananda Loponen for the code to convert devanagari and various sanskrit transliterations. That can be accessed at http://www.ingmardeboer.nl/php/diCrunch.php?act=help.
* I also extend my gratitude to gloomy.penguin of stackoverflow.com, who helped me create dvitva and lopa functions, without which I would be handicapped.
Expand Down

0 comments on commit 0d0d497

Please sign in to comment.