indic-dict / stardict-dictionary-updater

An android app that updates all your Sanskrit Dictionaries from our stardict-* repositories in one shot.
https://sites.google.com/site/sanskritcode/
12 stars 3 forks source link

A Sanskrit-English Dictionary - Arthur A. Macdonell #10

Closed drdhaval2785 closed 7 years ago

drdhaval2785 commented 7 years ago

md.txt

Uploading the MD dictionary from Cologne dictionaries. It is actually .babylon file, but changed to .txt because github doesn't allow upload of .babylon files into issues.

In future I will be supplementing all dictionaries from Cologne. It makes sense to have sa-Cologne folder. Otherwise I can put them in sa-head or wherever you want. @vvasuki Take a call and let me know.

vvasuki commented 7 years ago

नमस्ते धवल,

sa-Cologne इति पृथक् सङ्ग्रहो मास्तु। वर्गीकरणं विषयकेन्द्रितं स्यात् - न स्रोतःकेन्द्रितम्।

भवान् sa-head/macdonell इति सृष्ट्वा तत्रोपारोपयतु macdonnel.babylon इति रूपेण। ततः cd sa-head; make dicts=macdonell इत्यादिः।

drdhaval2785 commented 7 years ago

आम्

vvasuki commented 7 years ago

(अनुवर्तनात् पूर्वम् sanskritnlpसङ्ग्रहम् आकर्शतु पुनरेव )

drdhaval2785 commented 7 years ago

@vvasuki Tried adding MacDonell. Please see whether it is properly integrated. This is my first trial at fresh dictionary submission. If there is any suggestion / correction, let me know.

drdhaval2785 commented 7 years ago

Java didn't give any error while conversion to stardict from babylon. But it seems something is wrong. There is a failure message in my stardict updater. See screenshot.

vvasuki commented 7 years ago

No screenshot attached?

vvasuki commented 7 years ago

Got it - you're using an older buggier script - resulting in a bad tar.gz file. Please do a pull and run make tars DICTS=macdonell again. If you open the tar.gz file you should be able to directly see the dictionary files (ie they should not be in subfolders).

Also, for future reference, it's a good idea to open bugs in the most relevant project - this one should have been in stardict-sanskrit

drdhaval2785 commented 7 years ago

Also, for future reference, it's a good idea to open bugs in the most relevant project - this one should have been in stardict-sanskrit

Ok. I wanted to open an issue in stardict-sanskrit only. But the readme of this repo said that I have to open an issue to add dictionary. So opened here. Misled by readme. Can you correct it please. Modify it to read 'open an issue in stardict-sanskrit'.

vvasuki commented 7 years ago

Thanks, fixed readme.

drdhaval2785 commented 7 years ago

@vvasuki

My all scripts were git pulled and updated before I ran the code. It seems that the current script itself is buggy when it comes to tar making. See screenshot.

It created a whole directory structure /home/dhaval/stardict-sanskrit/macdonell folder instead of the files directly.

screenshot from 2017-04-02 07-38-10

vvasuki commented 7 years ago

Ah - the jar file in sanskritnlpjava/out was outdated. all fixed now. produced the proper tar.gz file. Dictionary installation should work now.

drdhaval2785 commented 7 years ago

After a long drawn battle, now MacDonell is added in my phone. Give it a try and send some feedback.

vvasuki commented 7 years ago

Nice! image

Will send feedback in separate issues.