Thanks for sharing!
This is a beautiful piece of technology, and I'm really happy to see the tools for Sanskrit advancing. If I were coding this I would probably have written this whole thing in Javascript so that it can be used in a browser (as I see with your "plans for the future"), but personally org-mode is where I live most of the time, so I'm not complaining. :-)
And I can report that it also works well on Mac.
This is what I did:
- Had to extract skorg-0.0.1.tar.bz2 to a directory in my Emacs load-path
- Added (require 'skorg) to .emacs
- (Maybe I have the auto filename thing turned off) Manually did M-x skorg-mode
I'm still getting the sdcv feature figured out -- which dictionaries do you use, personally?
The functionality seems to work well, I have some questions about the Sanskrit tagging part.
- I input dharma|kSetre and hit 7, so it looks like dharma|kṣetre in green. But the grammar tag still says:
(cp "dharmakSetre" (
(f "dharma" (iic) (s ("dharman" . "")))
(f "kṣetre" (iic) (s ("kṣetra" . "")))) ((na voc du neu) (na loc sg neu) (na nom du neu) (na acc du neu)) (pos 0 0) (s ("dharmakSetra" . "")))
so it seems to have 4 options voc du neu, loc sg neu, nom du neu, acc du neu still? Shouldn't it have got resolved into just loc sg neu?
- I am yet to figure out how to properly deal with certain kinds of sandhi. E.g. how to tag pANDavAzcaiva (pāṇḍavāścaiva)?
- It would be nice to document the syntax of these grammar tags and the abbreviations, so that more people can use it. (The cp, f, iic, s, voc, loc, neu etc.)
Thanks again -- it's really amazing how functional it is with so few lines of code!