Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python package for CDSL #389

Open
drdhaval2785 opened this issue Feb 2, 2022 · 3 comments
Open

python package for CDSL #389

drdhaval2785 opened this issue Feb 2, 2022 · 3 comments
Labels
Documentation How TXT , XML work

Comments

@drdhaval2785
Copy link
Contributor

drdhaval2785 commented Feb 2, 2022

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 gasyoun added the Documentation How TXT , XML work label Feb 2, 2022
@gasyoun
Copy link
Member

gasyoun commented Feb 2, 2022

It may be of interest to CDSL members.

@novikovag @martingluckman @DomiCheck @koleslena @OlgaSoloveva

@drdhaval2785
Copy link
Contributor Author

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
Copy link
Contributor Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation How TXT , XML work
Projects
None yet
Development

No branches or pull requests

2 participants