sanskrit-lexicon / COLOGNE

Development of http://www.sanskrit-lexicon.uni-koeln.de/
18 stars 3 forks source link

python package for CDSL #389

Open drdhaval2785 opened 2 years ago

drdhaval2785 commented 2 years ago

Release note on a mailing list. It may be of interest to CDSL members.

QUOTE I've released a python package for programmatic access and management of dictionaries from Cologne Digital Sanskrit Lexicon. In essence, it can download/update the specified dictionaries from CDSL, provide a customizable class to access and parse the entries from the dictionary. It also comes with a REPL, invoked by command cdsl.

Package: https://pypi.org/project/PyCDSL/ Source: https://github.com/hrishikeshrt/PyCDSL

I welcome the interested members to use and comment.

Thank you.

Regards, Hrishikesh Terdalkar UNQUOTE

gasyoun commented 2 years ago

It may be of interest to CDSL members.

@novikovag @martingluckman @DomiCheck @koleslena @OlgaSoloveva

drdhaval2785 commented 2 years ago

Another post by the developer in sanskrit-programmers mailing list.

QUOTE One of the tasks that I want to do is writing custom parser functions for parsing entries of several principal dictionaries, and extracting syntactic and semantic information from XML entries. For example, several dictionaries mention some grammatical information about the words, e.g. gender. This should ideally be extracted and made available as a property of every Entry class instance for easy access such as e.gender

This, however, in its entirety is not a straightforward task as far as I understand as it needs a careful understanding of the specific dictionary in question. UNQUOTE

drdhaval2785 commented 2 years ago

@hrishikeshrt

Welcome to sanskrit-lexicon organization. Your requirements would require deeper understanding of data at CDSL. We would be able to discuss things so that your python tool becomes more feature rich and you can help us with analysis of dictionary structure.

A good starting point is csl-orig repo in v02 folder.