-
Notifications
You must be signed in to change notification settings - Fork 0
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
Metaline <pc> not containing the column data #15
Comments
This is similar to the @AnnaRybakovaT This would be a good next project for you, if time permits before you leave for the season. What do you say? |
@funderburkjim |
@Andhrabharati Looks uniform to me. Where is it not uniform? |
The 2nd column is not having the Either it should be present throughout, or absent everywhere. |
ok. We can work around that difference |
Here is the updated uniformly 'constructed' version of the above file-- |
I agree)) |
@AnnaRybakovaT I'll get instructions for you on this soon. An introduction to Python dictionaries: https://www.w3schools.com/python/python_dictionaries.asp. As usual, our programs use only some of the features of dictionaries.
Small exercise: write a program that takes a string (such as
Use a dictionary. You might vary your program by using the Python 'sorted' function so that the |
@AnnaRybakovaT I've made a stub directory (corrections/issue15/) where our work can go. This project seems very similar to the MD pc errors project Rather than having me set up the project, why don't you give it a try ? Get as far as you can, then push your revised skd repository, and formulate questions where you might get stuck. |
Dear Jim, |
Dear Jim, So I suppose we need:
Just now I can't push the revised skd repository:
|
@AnnaRybakovaT Hi! Nice to hear from you. Which is 'our island'? Try push again, think it should work for you now. |
She lives somewhere in 'Greece', as I understand, @funderburkjim! |
In fact, you had returned much sooner @AnnaRybakovaT (your another post elsewhere mentioned your return would be sometime after next November)! |
Yes, it works! I live on Patmos, it is tiny beautiful island with 3000 local inhabitants and 20 000 tourists during summer time. |
It is true but before I would like to finish this current task. |
These suggestions may help you get started. get temp_skd.txtGet latest version of skd.txt from https://github.com/sanskrit-lexicon/csl-orig/blob/master/v02/skd/skd.txt, rename the file as temp_skd.txt, and move You can use the 'download' button on the page above,
start modifying programtest_make_change_pc.py is the program previously used. The command to run this program will be First, put an 'exit(1)' statement after 'entries = digentry.init(filein)', modify Pcerror classThe init method of the class parses a line of SKD.pc.values.in.metalines.txt.
We need three attributes for the instances of our Pcerror class. Also, in init_pcrecs, remove the dbg statements (they are not relevant now). When this part is working properly, we'll be ready to modify generate_changes. Note: Keep readme.txt up to date. |
@AnnaRybakovaT Haven't heard from you for a while. |
Dear Jim, Next week I am taking part in an annual conference of Oriental studies in St.Petersburg (of course by Zoom) and I have to focus all free time for preparation of my presentation. Since now such scientific work is not my professional field and during the last 4 years I lost a lot of skills, it takes for me much more time just to write one article or to prepare one speach. In any case it is a big pleasure for me - I have possibility to learn something new (a topic of my research is Nepal) and still keep connections with Russian oriental studies' community. |
Dear Jim, |
@Andhrabharati Went ahead and did this correction. Enjoy! |
@AnnaRybakovaT A good next learning step would be to |
As I had mentioned elsewhere, I rarely refer to SKD; so nothing much to enjoy for me. @drdhaval2785 might feel it so, probably. |
Yes. I do use SKD. Any improvement there is useful to me. |
What major improvements still lacking? |
Dear Jim and dear all, I have got back!!!))) |
@AnnaRybakovaT AFAIK, this issue has been resolved : all the metalines for skd now have column designation, like the '-b' in I have a non-programming task regarding quality of pdf images for mw dictionary. Will open a new issue and describe it further as exercise for you. I aim to do this soon, but my mind is elsewhere at the moment, |
@funderburkjim And I can arrange the replacement for MW 'bad' pages from my physical copy (London print), if required. Also I have made a better copy from the archive version of the pdf, from its unprocessed (uncompressed) image (jpeg2) pages, if it sounds interesting. |
Speaking of having the better scan pages, how about replacing the present SKD scans with the excellent SKD scans shared by Thomas recently (appropriately downsized)? |
Excellent! I am waiting for further details. |
@funderburkjim I believe there is no reason why not? |
retract mw scan review?In reviewing my notes regarding alleged bad scan pages for MW, I had noted about 10 such instances.
Thus, we should find replacements for these 2 pages. |
skd scan replacemenet@Andhrabharati - If you have a replacement of all the scans, I can develop instructions for you to get those in a form |
all dictionaries needing better scans.I know there is at least one dictionary that could use better quality scans - GRA (Grassman). A few of sanskrit-lexicon scans for GRA have missing data (e.g. page 115), and many pages are of marginal quality and highly skewed. It would be nice to have good quality scans for the entire dictionary. There are many of the Cologne dictionaries whose scan quality is unknown to me. I think it would be good to review scans for all of the dictionaries, evaluate the quality, and determine whether a few scans or all of the scans should be replaced; and then find good replacement scans and go through process of installing these at Cologne. Taking the lead in such a comprehensive review could be a valuable contribution for @AnnaRybakovaT. Request comments by others. |
I feel spending a few hours (3-4) [or even a day or two] is not a bad deal, as it would eliminate any bad scans (if present) in the repo. |
I do have a good scan of GRA (1873) from Bayerisch Stattlib, and also a revision of the work by Maria Kozianka (1996). It would be a plausible option to update Cologne's GRA with this 1996 work-- @thomasincambodia and @funderburkjim may ponder on this suggestion. Finally, isn't it better to talk about this scan pages matter at a 'new' issue, instead of here at this 'closed' issue? |
Yes, I have stored the SKD scan pages from Thomas and can do the needful. |
It will become a copyright issue.
Interesting note
4 hours would not be enough to even open all these pages.
We could try. |
@AnnaRybakovaT Instructions for reviewing mw scans posted at sanskrit-lexicon/MWS#144 |
Discussion regarding skd scans is moved to #16. |
python dictionary learningAnna had made some progress with Python. In comments above, apparently next reasonable step in Python study seems to be the python 'dictionary' data structure. @AnnaRybakovaT Are you still interested in furthering your Python skills? If so, there are many online resources that can get you started with Python dictionaries. |
thomas new github nameThomas changed his github name to @maltenth . |
Dear Jim, |
It is seen that SKD metalines do not have the 'c' data in 'pc' field!
As @drdhaval2785 says he regularly consults SKD, he might be interested to incorporate the values with a small script; it is somewhat time-consuming to look for the entry word in the page (esp. at the online scans), without the column indication.
Or @funderburkjim might do this himself.
Here is the corresponding necessary data generated from the text file itself--
SKD pc values in metalines.txt
The text was updated successfully, but these errors were encountered: