59
. . . . . . . . ´ abdabodhah . . . . Factors useful for ´ abdabodhah . . . . . . . . . Computational Perspective . . . . . Mathematical Model . . . . . . Implementation Mathematical Modeling of ¯ Ak¯ nks . ¯ a and Sannidhi for Parsing Sanskrit Amba Kulkarni, Devanand Shukl, and Sheetal Pokar Department of Sanskrit Studies, University of Hyderabad, Hyderabad 15 th World Sanskrit Conference, Delhi 6 th Jan., 2012 Mathematical Modeling of ¯ Ak¯ nks . ¯ a and Sannidhi for Parsing Sanskrit 1 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Mathematical Modeling of Akanks.a and Sannidhifor Parsing Sanskrit

Amba Kulkarni, Devanand Shukl, and Sheetal Pokar

Department of Sanskrit Studies,University of Hyderabad,

Hyderabad

15th World Sanskrit Conference, Delhi6th Jan., 2012

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 1 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 2: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Outline

Sabdabodhah.

Factors useful for Sabdabodhah.

Computational Perspective

Mathematical Model

Implementation

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 2 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 3: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Sabdabodhah.

Sabdabodha is an understanding that arises from a linguistic utterance.

Three schools of Sabdabodha: vyakaran.a, nyaya and mımamsa

Main Difference: mukhya-vises.ya (chief qualificand / Head)

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 3 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 4: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

The process of Sabdabodha involves parsing or vakyavisles.an.am as one ofthe steps.

Parsing: A process of analysing a text to determine its grammaticalstructure and syntactic relations between various units.

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 4 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 5: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Non-determinism in Parsing

Grammar typically specifies rules for generation.

Analysis is an inverse process.

Inverse process may involve non-determinism.

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 5 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 6: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Consider for example the following two sutras:

I anabhihite ( 2.3.1)

I kartr.karan.ayos tr.tıya (2.3.18)

While generating a sentence using these two rules,there is no non-determinism.

vaktr. vivaks.a

hanana: kriyarama: kartaban.a: karan.avalı: karmavoice: passive

vibhakti = f(dhatu, voice, karaka)

ramen.a ban.ena valıh. hanyate

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 6 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 7: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Consider for example the following two sutras:

I anabhihite ( 2.3.1)

I kartr.karan.ayos tr.tıya (2.3.18)

While generating a sentence using these two rules,there is no non-determinism.

vaktr. vivaks.a

hanana: kriyarama: kartaban.a: karan.avalı: karmavoice: passive

vibhakti = f(dhatu, voice, karaka)

ramen.a ban.ena valıh. hanyate

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 6 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 8: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Consider for example the following two sutras:

I anabhihite ( 2.3.1)

I kartr.karan.ayos tr.tıya (2.3.18)

While generating a sentence using these two rules,there is no non-determinism.

vaktr. vivaks.a

hanana: kriyarama: kartaban.a: karan.avalı: karmavoice: passive

vibhakti = f(dhatu, voice, karaka)

ramen.a ban.ena valıh. hanyate

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 6 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 9: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Consider for example the following two sutras:

I anabhihite ( 2.3.1)

I kartr.karan.ayos tr.tıya (2.3.18)

While generating a sentence using these two rules,there is no non-determinism.

vaktr. vivaks.a

hanana: kriyarama: kartaban.a: karan.avalı: karmavoice: passive

vibhakti = f(dhatu, voice, karaka)

ramen.a ban.ena valıh. hanyate

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 6 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 10: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

However, given a sentence,

ramen.a ban.ena valıh. hanyate.

the analysis may lead to non-determinism as follows:

rama and ban.a, both are in 3rd case, and hence both of them are eligiblecandidates for karta and karan.a.

World Knowledge or yogyata decides the appropriate role for each ofthem.

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 7 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 11: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Sabdabodha Factors

Factors useful for Sabdabodhah.I akanks.a

I yogyata

I tatparya

I sannidhi

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 8 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 12: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Akanks.a

Literally it means ‘desire’ on part of the listner (jijnasa).

Is it Psychological or Syntactic?Naiyayikas: Syntactic

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 9 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 13: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Akanks.a

Literally it means ‘desire’ on part of the listner (jijnasa).Is it Psychological or Syntactic?

Naiyayikas: Syntactic

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 9 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 14: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Akanks.a

Literally it means ‘desire’ on part of the listner (jijnasa).Is it Psychological or Syntactic?Naiyayikas: Syntactic

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 9 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 15: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

dvaram = dvara + am‘am’ has an expectancy.

This expectancy is not one way, but mutual.The requirement of a karma in a verb such as ‘pidhehi’ is based on theusage of a verb.

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 10 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 16: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

dvaram = dvara + am‘am’ has an expectancy.This expectancy is not one way, but mutual.The requirement of a karma in a verb such as ‘pidhehi’ is based on theusage of a verb.

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 10 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 17: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

sannidhi

Tarkasa.ngraha

padanam avilambena uccaran. am,utterance of words without any gap,

avyavadhanena padajanya padarthopasthitih.the presentation of word meanings without any intervention.

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 11 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 18: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

sannidhi

Tarkasa.ngraha

padanam avilambena uccaran. am,utterance of words without any gap,

avyavadhanena padajanya padarthopasthitih.the presentation of word meanings without any intervention.

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 11 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 19: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Visvanatha Pancanan in Nyayakusumanjali gives the following examplesExample 1:girih. bhuktam agniman devadattenagloss: hill is eaten firy by Devadatta

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 12 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 20: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Example 2:nılo ghat.ah. dravyam pat.ah.gloss: blue pot matter clothTwo cognitions:

I The pot is blue and the cloth is a matter.nılo ghat.ah. dravyam pat.ah.

I The cloth is blue and the pot is a matter.nılo ghat.ah. dravyam pat.ah.

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 13 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 21: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Computational Perspective

What is a parse?A dependency parse: a treeWords: nodesRelations: labelled directed edges

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 14 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 22: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Starting point?To start with should we assume that potentially every word is related toevery other word?

No.

Akanksa constraints the initial number of edges.

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 15 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 23: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Starting point?To start with should we assume that potentially every word is related toevery other word?

No.

Akanksa constraints the initial number of edges.

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 15 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 24: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Starting point?To start with should we assume that potentially every word is related toevery other word?

No.

Akanksa constraints the initial number of edges.

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 15 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 25: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Clues for possible relations

Clues for possible relations:

I abhihitatva

I vibhakti

I avyaya

I samanadhikaran.a

I Tinantas (sakarmaka, akarmaka, any special karaka requirement)

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 16 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 26: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Clues for possible relations

abhihitatva

tin, kr.t, taddhita, samasa

ramah. vanam gacchatiramen.a vanam gamyate

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 17 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 27: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Clues for possible relations

vibhaktih. : n-v / n-n

upapadavibhaktih. and upapadam: n-n / n-vramen.a saha sıta vanam gacchati.gramam paritah. vr.ks.ah. santi.

avyayas: a -> v / a -> n

ramah. eva sundarah.ramah. na gacchati

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 18 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 28: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Clues for possible relations

vibhaktih. : n-v / n-n

upapadavibhaktih. and upapadam: n-n / n-vramen.a saha sıta vanam gacchati.gramam paritah. vr.ks.ah. santi.

avyayas: a -> v / a -> n

ramah. eva sundarah.ramah. na gacchati

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 18 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 29: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Clues for possible relations

vibhaktih. : n-v / n-n

upapadavibhaktih. and upapadam: n-n / n-vramen.a saha sıta vanam gacchati.gramam paritah. vr.ks.ah. santi.

avyayas: a -> v / a -> n

ramah. eva sundarah.ramah. na gacchati

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 18 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 30: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Clues for possible relations

samanadhikaran.a:

svetah. asvah. dhavati.

asvah. svetah. asti.

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 19 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 31: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Which relations: Explicit or Implicit

Which relations to represent – Explicit or Implicit?

samanakartr.kayoh. purvakale (3.4.21)

ktva marks purvakalınatva or kartr.tva or both?

ramah. dugdham pıtva salam gacchati.

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 20 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 32: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Explicit(abhihita) or Implicit(aks.ipta)

Bhartr.hari in Vakyapadıyam states (3.7.81-82),

pradhanetayor yatra dravyasya kriyayoh. pr.thaksaktir gun. as.raya tatra pradhanam anurudhyate 3.7.81pradhanavis.aya saktih. pratyayenabhidhıyateyada gun.e tada tadvad anuktapi prakasate 3.7.82

i.e., in case X is an argument of both the main verb as well as thesubordinate verb, it is the main verb which assigns the case and therelation of X to the sub-ordinate verb gets manifested even without anyother marking.

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 21 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 33: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Explicit(abhihita) or Implicit(aks.ipta)

ramah. dugdham pıtva salam gacchati.ramen.a dugdham pıtva sala gamyate.

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 22 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 34: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 23 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 35: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Sannidhi (Proximity)

girih. bhuktam agniman devadattena

No crossing of edges

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 24 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 36: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Sannidhi (Proximity)

girih. bhuktam agniman devadattenaNo crossing of edges

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 24 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 37: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Sannidhi (Proximity)

ramah. gramam gatva prasadam pasyati.

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 25 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 38: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Sannidhi (Proximity)

Suggested by Staal (1967) andfurther worked out by Gillon (1993).

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 26 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 39: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Akanksa: To draw the potentital edges between nodes.Sannidhih. : To forbid crossing of edges.

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 27 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 40: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Mathematical Model

Words: nodes, andRelations: directed labelled edges.

Given a Graph G with n nodes, the task is to find a sub-graph T which isa directed Tree.1

1A tree is a graph in which any two vertices are connected by exactly one simplepath.

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 28 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 41: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

We divide the problem into three subtasks:

1. Task 1: For a given sentence, draw all possible labeled directededges among the nodes. (akanks.a)

2. Task 2: Identify a sub-graph T of G such that T is a directed Treewhich satisfies the given constriants.(akanks.a, sannidhih. )

3. Task 3: Prioritize the solutions, in case there is more than onepossible directed Tree. (sannidhih. )

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 29 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 42: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Mathematical representation

Representation: 5 dimensional Matrix.

C[i,j,k,l,m]

I i: i th word

I j: j th analysis of i th word

I k: Relation

I l: i th word

I m: mth analysis of l th word

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 30 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 43: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Task 1:

Using abhihitatva, vibhakti, samanadhikaran.ya, and the expectancies thematrix C is populated with 0s and 1s.

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 31 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 44: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Task 1:

ramah. vanam gacchati.

Morphological Analysis:[1, 1]: rama {gender=m, case=1, number=sg},[1, 2]: ra {gan.ah.=adadi, lakara=lat., person=1, number=pl,prayogah.=kartari, parasmaipadı}.

[2, 1]: vana {gender=n, case=1, number=sg},[2, 2]: vana {gender=n ,case=2, number=sg}.

[3, 1]: gam {lakara=lat., person=3, number=sg, voice=active,parasmaipadı},[3, 2]: gacchat (gam satr.) {gender=m, case=1, number=sg},[3, 3]: gacchat (gam satr.) {gender=n, case=1, number=sg}.

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 32 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 45: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 33 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 46: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Task 2:

In order to get a Tree from this graph, we impose the followingconstraints.

1. A vibhaktih. marks only one relation.I.e., a node can have one and only one incoming arrow.∑

j,R,k,l C [i , j ,R, k, l ] = 1, ∀i .2. Each karaka relation is marked by a single morpheme.

There can not be more than one outgoing arrow with the same labelfrom the same cell, if the relation marks a karaka relation,2 i.e.there can not be two words satisfying the same karaka role of thesame verb.∑

i,j C [i , j ,R, k, l ] = 1, for each tuple (R, k, l).

2adhikaran.am is treated as an exception since one can have more than oneadhikaran.am as inramah. adya panca vadane gr.ham agacchat.

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 34 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 47: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

1. A morpheme does not mark a relation to itself.A word can’t satisfy its own expectancy. i.e. a word can’t be linkedto itself3. Or there can not be self loops in a graph.∑

j,R,k C [i , j ,R, i , k] = 0, ∀i .2. Only one valid analysis for every word per solution

2.1 If a word has both an incoming arrow as well as an outgoing arrow,they should be through the same cell.∀i∀j

∑R,l,n C [i , j ,R, l , n] +

∑a,b,R,k!=j C [a, b,R, i , k] ≤ 1.

2.2 If there is more than one outgoing arrow through a node, then itshould be through the same cell.if, for some i,j,R,l,m C[i,j,R,l,m] = 1,then ∀a∀b∀R

∑a,b,R,k!=j C [a, b,R, l , k] = 0.

3. All the words in a sentence should be connected.4. There is no crossing of links

If all the nodes are plotted in a straight line, then they should notintersect each other. i.e.,if C [i , j ,R, k, l ] = 1, then∀v∀yC [u, v ,w , x , y ] = 0, if i < x < k and u < i or u > k.

3in case of some of the taddhita suffixes which are in svartha, there will be selfloops. But we do not consider the meaning of taddhita suffixes in the first step, andthus can avoid the self loops

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 35 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 48: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

The resultant graph is a Tree provided:

1. It is connected.

2. It has n-1 edges.

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 36 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 49: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Task 3:

The solutions are prioritized using the conditions specified below.

For each of the solutions, the cost is calculated as

Cost =∑

i,R,j ciRj , wherei) ciRj = |j − i | ∗ wtR , if C [i , a,R, j , b] = 1 for some a and b.= 0 otherwise.

ii) wtR = rank(R)

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 37 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 50: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

This cost ensures the following:

1. akanks.a (karaka relation) is preferred over other relations (rank ofthe relations takes care of this.).

2. The ranking of the solutions on the basis of distance-based weightstakes care of sannidhih. .

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 38 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 51: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Implementation

Modularity

The first task demands the inputs from grammar,

whereas the second and the third tasks are purely mathematical ones,which can be handled by a constraint solver.

The separation of tasks into three sub-tasks makes it not only modular,but also easy for a grammarian to test his/her rules independently.

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 39 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 52: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Implementation

First task is implemented using an expert shell CLIPS

Second task uses a constraint solver MINION.

The system is available athttp://sanskrit.uohyd.ernet.in/scl/SHMT/shmt.html

Main purpose of this exercise is to have a proof of the concept.

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 40 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 53: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Performance

Performance113 sentences with single finite verb.Sentence length 2 to 14 words.

Manual tagging for testing

I 97 (86%) sentences had the first parse correct.

I 16 (14%) sentences had one relation wrong.I wrong label: 10I wrong attachments: 3I wrong label and wrong attachments: 3

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 41 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 54: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Diagnosis

Reasons for wrong analysis:

I Fine grain / Coarse grain distinction

I adhikaran.a / desadhikaran.a / kaladhikaran.aI mukhya karma / gaun.a karmaI hetu / karan.a

I verbs in the curadi (10th) gan.a.

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 42 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 55: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Diagnosis

Upapada a function word (dyotaka) or a content word (vacaka)?

Figure: saha-function

Figure: saha-contentMathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 43 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 56: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Diagnosis

Need to have dictionaries rich with semantic content

The second case suffix denotes the meaning of

I kriyavises.an.a (manner)

I kala (time)

I adhvan (path)

I karma

For disambiguation, one should appeal to yogyata.

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 44 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 57: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Real Text Challenges

Since the parser does the analysis ‘mechanically’, it detects the problemsof ‘violation’ of the rules more easily.

guhena laks.man. ena sıtaya ca sahitah. ramah. vanena vanamgatva bahudakah. nadıh. tırtva bharadvajasya sasanat citrakut.amanuprapya vane ramyam avasatham kr.tvadevagandharvasankasah. te trayah. ramaman. ah. sukhamnyavasan. (Sam. ra.:30-32)

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 45 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 58: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

Real Text Challenges

This sentence poses the following problems:

I Whom does the phrase ‘te trayah. ’ refer to?

I ramah. does not agree with the finite verb nyavasan. Is it not aviolation of samanakartr.kayoh. purvakale?

I Does gatva precede tırtva or nyavasan?

I In case of vanena vanam what should be the meaning of the thirdcase?

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 46 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad

Page 59: Mathematical Modeling of Akanksa and Sannidhi for …sanskrit.uohyd.ac.in/.../15wsc_akanksha_modeling.pdfS abdabodhah .. . . Factors useful for S abdabodhah .. . . . . . . . Computational

. . . . . .

. .Sabdabodhah.

. . .Factors useful for Sabdabodhah.

. . . . . . . .Computational Perspective

. . . . .Mathematical Model

. . . . . .Implementation

DEMO

Mathematical Modeling of Akanks.a and Sannidhi for Parsing Sanskrit 47 / 47 Department of Sanskrit Studies, University of Hyderabad, Hyderabad