SanskritVerb
SanskritVerb copied to clipboard
Verb declention for Sanskrit
SanskritVerb
Verb declension for Sanskrit
Table of Contents
- Online Demos
- Code Structure
- Running the Code Locally with XAMPP (Windows)
- Running the Code Locally with Docker (MacOS / Linux)
- Notes
- Changelog
Online Demos
Code Structure
To understand how the code is organized, please read understandcode.md
.
Running the Code Locally with XAMPP (Windows)
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)
Running the Code Locally with Docker (MacOS / Linux)
- 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
Notes
A research paper on the subanta generator which was presented at 16th World Sanskrit Conference can be found here.
Changelog
v1.0.0 (2 August 2015)
- Initial release
v1.0.1 (5 October 2015)
- Major bug fixes
v1.1.0 (17 October 2015)
- Time optimization
v1.1.1 (26 October 2015)
- Noted all inline issues from
tiGanta.php
andfunction.php
as Github issues for easier tracking
v1.1.2 (7 November 2015)
- Separated code into
Data
,Documentations
,scripts
,testing
andoutput
folders - Made necessary corrections to the code
v1.2.0 (12 January 2016)
- 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
v1.3.0 (22 January 2016)
- Added commentaries available for local viewing
v1.4.0 (3 February 2016)
- Added the option to deactivate some sūtras of Paninian grammar (to understand its importance in the structure of Aṣṭādhyāyī)
v1.5.0 (21 February 2016)
- Tested the code for representative verbs and corrected suspect verb forms
v1.6.0 (21 February 2016)
- Made three commentaries available for offline viewing:
- Mādhavīyadhātuvtti
- Kṣīrataraṅgiṇī
- Dhātupradīpa
v1.6.1 (12 March 2016)
- Tested the code for representative verbs from Siddhāntakaumudī (round 2) and corrected suspect verb forms
v1.7.0 (13 March 2016)
- Defined which sūtras bars which sūtras
v1.8.0 (20 March 2016)
- Added the following forms:
- bhāvavācya
- karmavācya
- karmakartvācya
- ṇijanta
- yaṅanta
v1.9.0 (26 March 2016)
- Added the following forms:
- yaṅluganta
- sannanta
v1.10.0 (19 June 2016)
v1.10.1 (06 September 2016)
- Readjusted the
sandhi.html
andsubanta.html
frontends withpanini.php
(After changes for optimization in tiṅanta generation, it stopped working)