Closed drdhaval2785 closed 2 years ago
Currently, by default four dictionaries are downloaded -- "MW", "MWE", "AP90" and "AE".
Specific dictionaries can be installed by calling CDSL.setup() with specific arguments. For example,
import pycdsl
CDSL = pycdsl.CDSLCorpus()
CDSL.setup(["VCP", "SKD"])
The question of whether there should be any default dictionaries or not can be thought of separately. I do agree on the clutter part. I had just thought the most used dictionaries are Monier-Williams' and Apte's, in their Sanskrit-English and English-Sanskrit form.
If you can write in the docs that setup can take list of dictionaries as arguments, this issue can be closed.
Updated the documentation of CDSLCorpus.setup()
function in commit 7c58cf4e5161c83f76e4552fb18767ad09fc1ec4 fixing this issue. The documentation on readthedocs.io will be updated with this commit. The changes will appear in the package next release.
My request would be to update the docs at https://pycdsl.readthedocs.io/en/latest/readme.html#usage too.
Description
Allow user to download only selected dictionaries. Currently it seems that the user is forced to download all the dictionaries when he presses CDSL.setup(). Sometimes there are users who only want to download specific dictionaries, and not download unwanted dictionaries to maintain their system clutter free.
What I Did