Verb declension for Sanskrit
- Online Demos
- Code Structure
- Running the Code Locally with XAMPP (Windows)
- Running the Code Locally with Docker (MacOS / Linux)
- Notes
- Changelog
To understand how the code is organized, please read understandcode.md
.
This is a one time exercise. Once you have completed the steps below, you should only open your browser (Firefox, Chrome, Internet Explorer, etc.) and browse to localhost/SanskritVerb/tiGanta.html
to access a frontend that will allow you to interact with the machine.
- Download the latest version of XAMPP
- Install XAMPP
- Install Git from https://git-scm.com/downloads
- Locate XAMPP directory (usually
c://xampp
) - Right-click on
xampp-control.exe
and select 'Run As Administrator' (For steps 5-8, if in doubt, please see this) - In the right-top corner, click on 'Config'
- Tick Apache, FileZilla, Tomcat, MySQL and Mercury in 'Autostart of modules' section
- Click 'Save'
- Close 'XAMPP Control Panel'
- Go to
xampp/htdocs
directory - Copy
install.sh
in that directory - Click on
install.sh
(this will fetch the latest code and data for local usage)
- Install Docker (can also be done through Homebrew)
- Clone this repo and
cd
into it docker build -t sanskrit-verb .
docker run -p 3333:80 -v `pwd`/:/var/www/html/ sanskrit-verb
- Open the browser to
http://localhost:3333
A research paper on the subanta generator which was presented at 16th World Sanskrit Conference can be found here.
- Initial release
- Major bug fixes
- Time optimization
- Noted all inline issues from
tiGanta.php
andfunction.php
as Github issues for easier tracking
- Separated code into
Data
,Documentations
,scripts
,testing
andoutput
folders - Made necessary corrections to the code
- Merged the code from
drdhaval2785/SanskritSubanta
(for subanta generation) into SanskritVerb - There is now only one file
panini.php
which gives subanta / tiṅanta / sandhi etc depending on the input HTML file
- Added commentaries available for local viewing
- Added the option to deactivate some sūtras of Paninian grammar (to understand its importance in the structure of Aṣṭādhyāyī)
- Tested the code for representative verbs and corrected suspect verb forms
- Made three commentaries available for offline viewing:
- Mādhavīyadhātuvtti
- Kṣīrataraṅgiṇī
- Dhātupradīpa
- Tested the code for representative verbs from Siddhāntakaumudī (round 2) and corrected suspect verb forms
- Defined which sūtras bars which sūtras
- Added the following forms:
- bhāvavācya
- karmavācya
- karmakartvācya
- ṇijanta
- yaṅanta
- Added the following forms:
- yaṅluganta
- sannanta
- Readjusted the
sandhi.html
andsubanta.html
frontends withpanini.php
(After changes for optimization in tiṅanta generation, it stopped working)