Closed drdhaval2785 closed 1 year ago
LRV has been added to csl-orig repository and some tweakings have been made in csl-pywork and csl-websanlexicon repository to allow generation of LRV for local host. Works well on my localhost.
Image files are not uploaded yet. Line breaks before new meaning is not inserted yet.
Otherwise looks good to me.
@funderburkjim, kindly check whether you can make it work on localhost?
Majority of headword errors which could be caught by program have been handled.
Thanks
Alternate headwords (parsed from brackets) are now added in csl-orig repository.
Feminine forms are also added to csl-orig repository. This placeholder may be treated to be over.
sh generate_dict.sh lrv ../../lrv
The menu for dictionaries doesn't have lrv yet (that's why with partial name 'lr', no dictionary shown.
The 'suggestion' box works:
The retrieval works:
This does not work:
I'll
The 'input=simple' problem is probably solved by regenerating hwnorm1c.sqlite. This binary file is in csl-apidev/simple-search/hwnorm1/
It's regeneration is awkward, and not fully automated.
@drdhaval2785 I'll let you work through this in a separate issue. Start by looking at csl-apidev/simple-search/readme.org, section 'ngram and hwnorm1c'. This in turn directs you to the 'hwnorm1' repository .... Somewhere (probably in hwnorm1/sanhw1) 'lrv' will need to be added to list of dictionaries.
Somewhere (probably in hwnorm1/sanhw1) 'lrv' will need to be added to list of dictionaries.
Yeah, @drdhaval2785 wants to go through it all ))
sanhw1.txt and hwnorm1c.txt and hwnorm1c.sqlite have been updated. Maybe @funderburkjim may give it a try and install it in Cologne server to see if it works.
Have installed csl-apidev repository at cologne. Tried simple-search on LRV. Looks fine to me:
@funderburkjim Would you please add this LRV dictionary to CDS?
csl-homepage repository updated for LRV, pushed to github, pulled at cologne. Similarly, csl-doc repository.
@drdhaval2785 I think this completes the installation of LRV. Will let you close issue.
Added comment in newsletter april2023.md for lrv.
Found (from the april2022.md file) reference to https://github.com/hrishikeshrt/PyCDSL. Looks like a major project.
@drdhaval2785 Are you working with Hrishikesh Terdalkar? Will he need to update something based on new LRV dictionary?
I will intimate Hrishikesh about addition of new dictionaries. He may have to update the documentation about dictionary codes.
I checked with the old version of pyCDSL installed in my computer. He will not have to do anything. The program is structured to download data based on CDSL dictionary codes themselves.
I typed ‘cdsl -d LRV -s kamala’
The LRV data was downloaded from web folder of Cologne and results were displayed.
@funderburkjim PyCDSL is a good tool for two reasons.
pyCDSL is assuming some CDSL API -- There should be an 'official' location for the details of this api.
This official location would be beneficial
This official location would be beneficial
Right, you have a clue where it should be located?
where should CDSL api documentation be located?
Probably a new repository sanskrit-lexicon/csl-api.
I would say the current api conventions are of an informal nature.
A more formal (official) api would likely be modeled after the JSON-based approach used by Github.
The nearest first step towards a more formal api may be to construct the csl-api repository and gather, in an issue (or issues), all the current parameterized urls of cdsl.
Majority of headword errors which could be caught by program have been handled. Time to merge the data in the csl-orig repository and make it part of CDSL workflow.