Skip to content

Commit

Permalink
Ready for v1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
drdhaval2785 committed Mar 20, 2016
1 parent 8c4b75d commit ca23e8a
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ v1.6.0 - 21 February 2016 - The code now has three commentaries mAdhavIyadhAtuvR

v1.6.1 - 12 March 2016 - The code is tested for representative verbs from Siddhantakumudi (round 2) and suspect verb forms are corrected.

v1.7.0 - 13 March 2016 - Decide which sUtra bars which sUtras.

v1.8.0 - 20 March 2016 - Added bhAvavAcya, karmavAcya, karmakartRvAcya, Nijanta and yaGanta forms.

# For understanding the code

Read [this](https://github.com/drdhaval2785/SanskritVerb/Documentations/blob/master/understandcode.md)
12 changes: 11 additions & 1 deletion panini.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,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 1.7.0 date 13 March 2016
* Version 1.8.0 date 20 March 2016
* The latest source code is available at https://github.com/drdhaval2785/SanskritVerb .
* Acknowledgements: The base book for coding has been Astadhyayi sahajabodha of Dr. Pushpa Dikshit, published by Pratibha Prakashan, Delhi.
* 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.
Expand Down Expand Up @@ -2487,6 +2487,16 @@
$abhyAsa=1;
$abhyasta=1;
}
if (arr($text,'/ya[+]Sap[+]/'))
{
storedata('1.3.3','pa',0);
storedata('1.3.8','pa',0);
$text = one(array("ya+Sap+"),array("ya+a+"),0);
storedata('1.3.9','sa',0);
$text = one(array("ya+a+"),array("ya+"),0);
storedata('6.1.97','sa',0);
}

$yaGverb = change('/[+][^+]*$/','');
$verb_without_anubandha = str_replace('+','',$yaGverb[0]);
$text = one($yaGverb,array($verb_without_anubandha),0);
Expand Down
2 changes: 1 addition & 1 deletion scripts/function.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,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 1.7.0 date 13 March 2016
* Version 1.8.0 date 20 March 2016
* The latest source code is available at https://github.com/drdhaval2785/SanskritVerb
* For setup, copy and paste tiGanta.html, tiGanta.php, and scripts folder to your localhost and server and run tiGanta.html.
* tiGanta.html is the frontend for the code.
Expand Down
4 changes: 2 additions & 2 deletions tiGanta.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@
<input type="radio" name="sanAdi" value="kyaN">क्यङ्‌
<input type="radio" name="sanAdi" value="kvip">क्विप्‌-->
<input type="radio" name="sanAdi" value="Ric">णिच्‌
<input type="radio" name="sanAdi" value="yaN" checked>यङ्‌
<input type="radio" name="sanAdi" value="yaN">यङ्‌
<!--<input type="radio" name="sanAdi" value="RiN">णिङ्‌
<input type="radio" name="sanAdi" value="yak">यक्‌
<input type="radio" name="sanAdi" value="Aya">आय
<input type="radio" name="sanAdi" value="IyaN">ईयङ्‌
<input type="radio" name="sanAdi" value="aN">अङ्‌-->
<input type="radio" name="sanAdi" value="">None
<input type="radio" name="sanAdi" value="" checked>None

<!--<input type="hidden" name="sanAdi" value="" checked>-->
<input type="hidden" name="frontend" value="1" checked>
Expand Down

0 comments on commit ca23e8a

Please sign in to comment.