-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
83be24c
commit 0d0d497
Showing
2 changed files
with
35 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|