I started using it last year and I think others would benefit from knowing about it too.

Offline dictionaries(based on data from wikipedia, wiktionary etc.):
https://github.com/itkach/slob/wiki/Dictionaries

I use the Wordnet and SimpleWikipedia dictionaries along with the one for the Wiktionary in my native language.


Going on a tangent about the dictionaries(you can skip this if you’re currently not interested on that):

They had a Malayalam dictionary, which was quite awesome for me, as I’m a Malayali. The dictionary is based on ml.wiktionary.org from 2021. Maybe there were not too many additions for the effort to make a new one.

The code for creating the dictionaries are also available in their github. I tried it out, but I’m on Opensuse Leap currently and installing couchdb seems tricky.

I also saw a python package, Pyglossary, which helps to convert dictionaries between opensource formats.

Wikipedia provides monthly dumps of zim files(used in Kiwix, another dictionary app. Not available in F-droid).
https://dumps.wikimedia.org/other/kiwix/zim/
I was able to use Pyglossary to convert those into slob files and use them.
So might be an easier way to get slob files, if slob files of Wiktionary or Wikipedia in your language are not available. Or if you want to update them. Data scraping is also avoided.

  • callcc@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    5 months ago

    I don’t get it. Is this for translating words or an encyclopedic dictionary. I need a translating one.

    • Blastboom Strice@mander.xyz
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      5 months ago

      Both. Wordnet does english to english (it provides description and really lots of synonyms, antonyms, hypernyms, hyponyms, derived related forms), while wiktionaries can translate whatever language to the language of the wiktionary you’ve downloaded and it provides you description, congugation, synonyms etc.

      You can even download the wikipedia dictionary separately which downloads all the articles of wikipedia of a specific lamguage locally to search them with the app.

      • callcc@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        5 months ago

        Uhh, thanks a lot for that explanation. I’ll try installing some wiktionaries then.