...
 
Commits (8)
......@@ -5,7 +5,7 @@
# Gérard Huet & Pawan Goyal #
# #
############################################################################
# Makefile of Sanskrit Heritage Software 28-11-2018 Copyright INRIA 2018 #
# Makefile of Sanskrit Heritage Software 31-12-2018 Copyright INRIA 2018 #
############################################################################
# Prerequisites: Ocaml 4.07 and Camlp4 preprocessor
......@@ -58,7 +58,7 @@ WEB = html.ml web.ml css.ml cgi.ml morpho_html.ml chapters.ml morpho_scl.ml \
# CORPUS package - corpus manager
CORPUS = corpus.mli corpus.ml web_corpus.mli web_corpus.ml \
corpus_manager.mli corpus_manager.ml corpus_manager_cgi.ml \
save_corpus_params.mli save_corpus_params.ml save_corpus_cgi.ml \
save_corpus_params.mli save_corpus_params.ml save_corpus_cgi.ml \
mkdir_corpus_params.mli mkdir_corpus_params.ml \
mkdir_corpus_cgi.ml mk_corpus.ml
......
......@@ -5640,6 +5640,7 @@ value iic_avya =
; "adhi" (* adhipaa.ni adhistri adhihari adhihasti adhyaatmam *)
; "abhi" (* abhyagni abhipuurvam *)
; "anu" (* anujye.s.tham anuk.sa.nam anugu anu.svadham (.) *)
; "antaraa" (* antaraaz.fgam *)
; "apa"
(*; "aa" -- overgenerates *)
; "upa" (* upakumbham upak.r.s.naat upagafgam upanadam upaagni *)
......
......@@ -36,7 +36,7 @@ value voices_of = fun
| "ku.t" | "ku.n.th" | "kunth" | "kup" | "kul" | "kuuj" | "k.rt#1" | "k.rz"
| "krand" | "krii.d" | "kru~nc#1" | "krudh#1" | "kruz" | "klam" | "klid"
| "kliz" | "kvath" | "k.sar" | "k.sal" | "k.si" | "k.sii" | "k.su" | "k.sudh#1"
| "k.subh" | "k.s.nu" | "k.svi.d" | "kha~nj#1" | "khaad" | "khid" | "khel"
| "k.subh" | "k.svi.d" | "kha~nj#1" | "khaad" | "khid" | "khel"
| "khyaa" | "gaj" | "gad" | "garj" | "gard" | "gal" | "gaa#1" | "gaa#2"
| "gu~nj" | "gu.n.th" | "gup" | "gumph" | "g.rdh" | "g.rr#1" | "g.rr#2"
| "granth" | "grah" | "glai" | "ghas" | "ghu.s" | "gh.r" | "gh.r.s"
......@@ -72,6 +72,7 @@ value voices_of = fun
| "haa#1" | "hi#2" | "hi.ms" | "h.r.s" | "hras" | "hrii#1" | "hval"
| "maarg" (* root rather than nominal verb *)
(*| "viz#1" Atma needed for eg nivizate \Pan{1,3,17} *)
(*| "k.s.nu" Atma needed for sa.mk.s.ute \Pan{1,3,65} *)
(*| "ji" Atma needed for eg vijayate paraajayate \Pan{1,3,19} *)
(*| "jyaa#1" Atma needed for jiiyate *)
(*| "kan" Atma needed for kaayamaana *)
......@@ -88,14 +89,14 @@ value voices_of = fun
| "az#1" | "aas#2" | "indh" | "iik.s" | "ii.d" | "iir" | "iiz#1" | "ii.s"
| "iih" | "edh" | "katth" | "kam" | "kamp" | "kaaz" | "kaas#1" | "kuu"
| "k.rp" | "k.lp" (* but Henry: {cak.lpur} "ils s'arrangèrent" *)
| "knuu" | "klav" | "k.sad" | "k.sam" | "galbh" | "gaah" | "gur" | "gha.t"
| "jabh#1" | "ju.s#1" | "j.rmbh" | ".damb" | ".dii" | "tandr" | "tij" | "trap"
| "trai" | "tvar" | "dak.s" | "day" | "diik.s" | "diip" | "d.r#1" | "dhii#1"
| "dhuk.s" | "pa.n" | "pad#1" | "pi~nj" | "p.r#2" | "pyaa" | "prath"
| "pru" | "plu" | "ba.mh" | "baadh" | "bha.n.d" | "bhand" | "bhaa.s"
| "bhuj#2" | "bhraaj" | "ma.mh" | "man" | "mand#1" | "yat#1" | "yudh#1"
| "rabh" | "ruc#1" | "lajj" | "lamb" | "lii" | "loc" | "vand" | "vas#2"
| "vaaz" | "vip" | "v.rdh#1" | "ve.s.t" | "vrii.d" | "zafk" | "zad"
| "knuu" | "klav" | "k.sad" | "k.sam" | "galbh" | "gaah" | "gur" | "glah"
| "gha.t" | "jabh#1" | "ju.s#1" | "j.rmbh" | ".damb" | ".dii" | "tandr"
| "tij" | "trap" | "trai" | "tvar" | "dak.s" | "day" | "diik.s" | "diip"
| "d.r#1" | "dhii#1" | "dhuk.s" | "pa.n" | "pad#1" | "pi~nj" | "p.r#2"
| "pyaa" | "prath" | "pru" | "plu" | "ba.mh" | "baadh" | "bha.n.d" | "bhand"
| "bhaa.s" | "bhuj#2" | "bhraaj" | "ma.mh" | "man" | "mand#1" | "yat#1"
| "yudh#1" | "rabh" | "ruc#1" | "lajj" | "lamb" | "lii" | "loc" | "vand"
| "vas#2" | "vaaz" | "vip" | "v.rdh#1" | "ve.s.t" | "vrii.d" | "zafk" | "zad"
| "zi~nj" | "zii#1" | "zrambh" | "zlaagh" | "zvit" | "sac" | "sev"
| "styaa" | "spand" | "spardh" | "spaz#1" | "sphaa" | "smi" | "sra.ms"
| "sva~nj" | "haa#2" | "hu.n.d" | "h.r#2" | "hnu" | "hraad" | "hlaad"
......@@ -106,13 +107,13 @@ value voices_of = fun
(* Attested Ubha (over all ga.nas) :
[ "a~nc" | "arh" | "i" | "i.s#1" | "uurj#1" | "uuh" | ".r" | ".rj"
| "ka.n.d" | "kal" | "ka.s" | "ku.t.t" | "ku.n.d" | "k.r#1" | "k.r#2"
| "kram" | "krii" | "k.san" | "k.sap#1" | "k.sal" | "k.sip" | "k.sud" | "khan"
| "gam" | "garh" | "guh" | "gras" | "gha.t.t" | "cat" | "carc" | "ci"
| "cint" | "cud" | "ce.s.t" | "cyu" | "chad#1" | "chand" | "chid#1" | "jan"
| "juu" | "j~naa#1" | "jyaa#1" | "jyut" | "ta.d" | "tan#1" | "tan#2" | "tap"
| "tud#1" | "tul" | "t.rd" | "daaz#1" | "diz#1" | "dih" | "duh#1"
| "dev#1" | "draa#2" | "dvi.s#1" | "dhaa#1" | "dhaav#1" | "dhaav#2"
| "dhuu#1" | "dh.r" | "dhva.ms" | "nah" | "naath" | "nij" | "nii#1"
| "kram" | "krii" | "k.san" | "k.sap#1" | "k.sal" | "k.sip" | "k.sud"
| "k.s.nu" | "khan" | "gam" | "garh" | "guh" | "gras" | "gha.t.t" | "cat"
| "carc" | "ci" | "cint" | "cud" | "ce.s.t" | "cyu" | "chad#1" | "chand"
| "chid#1" | "jan" | "juu" | "j~naa#1" | "jyaa#1" | "jyut" | "ta.d" | "tan#1"
| "tan#2" | "tap" | "tud#1" | "tul" | "t.rd" | "daa#1" | "daaz#1" | "diz#1"
| "dih" | "duh#1" | "dev#1" | "draa#2" | "dvi.s#1" | "dhaa#1" | "dhaav#1"
| "dhaav#2" | "dhuu#1" | "dh.r" | "dhva.ms" | "nah" | "naath" | "nij" | "nii#1"
| "nud" | "pac" | "paz" | "pa.th" | "pii.d" | "pu.s#1" | "puu#1" | "puuj"
| "puuy" | "p.rth" | "prii" | "budh#1" | "bruu" | "bhak.s" | "bhaj" | "bharts"
| "bhaas#1" | "bhid#1" | "bh.r" | "bh.rjj" | "maa#4"
......@@ -127,7 +128,7 @@ value voices_of = fun
| "svad" | "had" | "hikk" | "hu" | "huu" | "h.r#1" ] *)
(* + corr. "pa.th" | "sthaa#1" | "praz" | "k.rr" | "p.rc" | "bandh" *)
(* NB. "ah" "rip" "vadh" have no pr, "mand2" is fictitious *)
(* "iiz1" and "lii" allowed Para in future *)
(* "iiz1", "lii" and "knuu" allowed Para in future *)
]
;
(* List of roots that admit different padas for distinct ganas:
......@@ -169,7 +170,11 @@ stambh 1U 5P 9P
svid2 1A 4P
*)
(* More precise selection for present system *)
value voices_of_gana g root = match g with
(* NB This will drive generation of verbal forms by Verbs. It may generate forms
not listed in the lexicon root entry, but needed for use with some preverbs,
indicated in [voices_of_pv] below.
Incorrect associations will be captured by Dispatcher. *)
value voices_of_gana g root = match g with
[ 1 -> match root with
[ "k.r.s" | "cur" | "budh#1" | "van" | "v.r#1" | "su#2"
| "suu#1"
......@@ -245,6 +250,7 @@ value voices_of_pv upasarga gana = fun (* gana only used for "tap" "i" ".r" *)
(* "praz" used in Atma with aa- but also without pv in epics (MW) *)
| ".r" | "car" -> if upasarga = "sam" then Ubha else Para (* \Pan{1,3,54} *)
| "viz#1" -> if upasarga = "ni" then Atma else Para (* \Pan{1,3,17} *)
| "k.s.nu" -> if upasarga = "sam" then Atma else Para (* \Pan{1,3,65} *)
| "huu" -> match upasarga with
[ "ni" | "sam" | "upa" | "vi" -> Atma (* \Pan{1,3,30} *)
| "aa" -> Ubha (* \Pan{1,3,31} *)
......
......@@ -65,28 +65,14 @@ EXTEND Gramskt
[ [ s = skt; `EOI -> s ] ] ;
pada: (* non-empty list of chunks separated by blanks *)
[ [ el = LIST1 skt -> el ] ] ;
(*i deprecated
sloka_line:
[ [ p = pada; "|"; "|" -> [ p ]
| p = pada; "|"; sl = sloka_line -> [ p :: sl ]
] ] ;
sloka: (* wrong *)
[ [ p = pada; "|"; sl = sloka_line -> [ p :: sl ]
| p = pada -> [ p ]
| `EOI -> failwith "Empty sanskrit input"
] ] ; *)
sanscrit:
[ [ p = pada; "|"; "|" -> [ p ]
| p = pada; "|"; `EOI -> [ p ]
| p = pada; "|"; sl = sanscrit -> [ p :: sl ]
| p = pada; "!"; sl = sanscrit -> [ p :: sl ] (* for voc and interj *)
| p = pada; `EOI -> [ p ]
| `EOI -> failwith "Empty sanskrit input"
] ] ;
(*i NB! due to limitation of camlp4 grammars, not possible to simplify above in
sanscrit:
[ [ p = pada; `EOI -> Pada p
| s = sloka -> Sloka s
] ] ; i*)
skt_list :
[ [ el = LIST1 skt SEP ","; `EOI -> el ] ] ;
END
......
......@@ -110,7 +110,8 @@ type sadhana = (* karaka, action or absolutive - coarser than krit *)
| Action
| Object
| Instr
| Loca
| Orig (* unused *)
| Loca
| Absolu
]
;
......@@ -154,6 +155,7 @@ and krit = (* coarser than Paninian krit suffixes *)
| Object_a (* ka -a n. *)
| Instrument (* ka \Pan{3,1,136} 0/amui n. *)
| Instra (* .s.tran -tra n. -trii f. traa f. *)
| Orig_root (* sruc srut sruva *)
| Agent_u (* san+u -u on des stem *)
| Action_aa (* san+a+.taap \Pan{3,3,102} -aa on des stem *)
| Abstract (* abstract nouns n. -as u.naadi suffix *)
......
......@@ -8,4 +8,4 @@
(**************************************************************************)
(* Generated by make version - see main Makefile *)
value version="3.11" and version_date="2018-12-20";
value version="3.11" and version_date="2019-01-01";
VERSION='3.11'
DATE='2018-12-21'
DATE='2019-01-01'
......@@ -679,6 +679,7 @@ Rashtriya Sanskrit Vidyapeetha</a><br><!-- SQL server errors --> <a href="http:/
<a href="http://sanskritworld.in/sanskrittool/SanskritVerb/subanta.html">Subanta generator of Dhaval Patel and Sivakumari Katuri</a><br>
<a href="http://sanskritworld.in/sanskrittool/SanskritVerb/tiGanta.html">Tinanta generator of Dhaval Patel and Sivakumari Katuri</a><br>
<a href="http://ashtadhyayi.com/dhatu/">Prakriya generator for root forms of Dhaval Patel</a><br>
<a href="http://ashtadhyayi.com/ska/">Sarasvatiika.n.thaabhara.na by Bhojadeva</a><br>
<a href="http://sanskrit-db.de/blog/pages-output/skorg/">Skorg: Sanskrit org mode extension for emacs</a><br>
<a href="https://www.asknell.com/akp/sanskrit">Sanskrit grammar</a><br>
<a href="http://www.taralabalu.org/">Ganakashtadhyayi by Dr Shivamurthy Swamiji, Taralabalu Kendra, Bangalore</a><br>
......@@ -945,6 +946,7 @@ Sanskrit Book Fair: The Hindu, 06-01-11</a><br>
and Roadmap for the Development of Sanskrit - Ten year perspective Plan (2016)</a><br>
<a href="https://docs.google.com/viewer?a=v&pid=forums&srcid=MTQyNTE0MTcxODQxNzMxMDM3MDQBMDQyMzA3MDU2NTQ3NTQ1NTE2NDkBWTFFNU9oRUhOd0FKATAuMQEBdjI">Steps taken for the development of Sanskrit language and literature, communication of Government of India to Lok Sabha, 02-05-16</a><br>
<a href="https://www.thehindu.com/opinion/op-ed/how-to-move-a-mountain/article24682600.ecee">How to move a mountain, The Hindu, 14-08-18</a><br>
<a href="https://www.tribuneindia.com/news/himachal/sanskrit-manuscripts-rotting-should-be-translated-debroy/704931.html">Sanskrit manuscripts rotting, should be translated: Debroy; The Tribune, 28-12-18</a><br>
<h2 class="b2"> Sanskrit videos</h2>
......@@ -952,6 +954,23 @@ and Roadmap for the Development of Sanskrit - Ten year perspective Plan (2016)</
<a href="https://www.youtube.com/watch?v=8FTVGNdDp2o">Bajaj Discover Add in sanskrit</a><br>
<a href="https://www.youtube.com/watch?v=0UavldvDoz8">Jagadguru Shankaracharya of Sringeri: Greatness of Sanskrit (Anugraha Bhashanam at Coimbatore) 21-08-12</a><br>
<a href="https://www.youtube.com/watch?v=mnNEb77iHKg">India's Post-Colonial identity Crisis Over Sanskrit - Prof. Kapil Kapoor 06-01-14</a><br>
<a href="https://www.youtube.com/playlist?list=PL1ITA_Kvp4NCR338aKh52JIv7N7a3UwFI">Learn to read Devanagiri script 16-01-18</a><br>
<a href="https://www.youtube.com/playlist?list=PLWjpkY4mU2RD8URCGJFG5nZQcb_PKTW8-">Learn Sanskrit by Prof Narasing Rao 13-04-18</a><br>
<a href="Samskrita Bharati Sanskrit Lessons">Samskrita Bharati Sanskrit Lessons</a><br>
<a href="https://www.youtube.com/channel/UCNRBEtL5Xd3AuVqYuI32hmg/playlists?disable_polymer=1">Rashtriya Sanskrit Sansthan Spoken Sanskrit Lessons</a><br>
<a href="https://www.youtube.com/channel/UCfRauUnvkjE-kUulFXCUMyg/videos?disable_polymer=1">Abhinav Seetharaman’s Spoken Sanskrit Series</a><br>
<a href="https://www.youtube.com/playlist?list=PLAPrVB8wngPkOdZ29775LY6i0lzYxJtLH">Spoken Sanskrit Lessons - Basics by the Sanskrit Channel</a><br>
<a href="https://www.youtube.com/playlist?list=PLbRMhDVUMngfYG2GVf2bQnIgsI0Y923g3">Introduction to Basic Spoken Sanskrit by IIT Kharagpur in NPTEL</a><br>
<a href="https://www.youtube.com/playlist?list=PL2k_IFsbXOiWQIw1IIDimpW5xdbtxbnx4">IIM Bangalore 10-Day Spoken Sanskrit Workshop by Prof Mahadevan</a><br>
<a href="https://www.youtube.com/playlist?list=PL8hlzSD3smGgf8BA3XcWMUlgB1tsoYyD-">Sanskrit for Beginners by Ashok</a><br>
<a href="https://www.youtube.com/playlist?list=PL8hlzSD3smGgY-0h6-EBycw58NfTQbORj">Three videos on Sanskrit Grammar by Ashok</a><br>
<a href="https://www.youtube.com/playlist?list=PLWjpkY4mU2RDgcakdhrrC8mUIqkaosEDU">Advaita Academy’s Ashtadhyayi (Panini Grammar Sutras)</a><br>
<a href="https://www.youtube.com/playlist?list=PLmozlYyYE-ERwN1bzzIDN9kvvb5Ooen_7">Vyoma-Sanskrit-Pathshala’s Ashtadhyayi Pravesha</a><br>
<a href="https://www.youtube.com/playlist?list=PL8hlzSD3smGhkSKP3v6d2EGF3hwrGM0t7">Gita Sopanam, Learn Sanskrit through Bhagavad Gita by Ashok (level 1)</a><br>
<a href=https://www.youtube.com/playlist?list=PL8hlzSD3smGgYEZlvoxJ4xuiwE40KMLKl">Gita Sopanam, Learn Sanskrit through Bhagavad Gita by Ashok (level 2)</a><br>
<a href="https://www.youtube.com/channel/UCoQX_P_FvGmD112y4AbH-ow/videos?disable_polymer=1">Samskrita Bharati Bhagavad Gita Classes in Sanskrit by Dr. K. N. Padmakumar</a><br>
<a href="https://www.youtube.com/channel/UC2SI2EtFYc3GtKBRuLQZnlw/videos?disable_polymer=1">Dr Manas Ranjan Sahu Sanskrit Channel for vocabulary/short-films</a><br>
<a href="https://www.youtube.com/playlist?list=PLNsppmbLKJ8KpZMxhE0OuzkWkmdZafKIy">CEC-UGC’s UPSC Sanskrit Lectures</a><br>
<h2 class="b2"> Sanskrit in the movies</h2>
......