sanskrit_parser icon indicating copy to clipboard operation
sanskrit_parser copied to clipboard

Need to handle Natva, Shatva etc

Open avinashvarna opened this issue 7 years ago • 1 comments

SanskritLexicalAnalyzer currently reports no splits for praNamati, vizIdati etc, because of the Natva, Shatva, etc. whereas it can correctly handle pranamati (even though this is not the correct form). Need to add a layer to undo such retroflexion.

avinashvarna avatar Jul 16 '17 18:07 avinashvarna

Let me think of this for a bit. Need to reconfirm some answers with sutras. Key points

  1. Shatvam/Natvam within a pada in the dictionary is ok
  2. Shatvan/Natvam caused by a compound pada will cause errors. This can be handled at Level 2 by confirming that a. The prior "pada" is a samasa constituent, or an upasarga b. The conditions for Na/Sha are satisfied (for Na, ra/Sha preceding, with aT, ku, pu or A~N in between etc.)
  3. Does this extend to multiple consitutents? (I think it does, for p1 + A~N, + p2 resulting in a compound pada at least - this is where I need to think)

kmadathil avatar Jul 17 '17 13:07 kmadathil