50
submitted 3 weeks ago* (last edited 3 weeks ago) by Achyu to c/fdroid@lemmy.ml

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.

top 16 comments
sorted by: hot top controversial new old
[-] j4k3@lemmy.world 4 points 3 weeks ago

Maybe look at galnet too:

https://f-droid.org/packages/gal.sli.digalnet/

That one is totally offline and is a simple translation dictionary. I use it and Wiktionary on a browser tab regularly.

[-] BlastboomStrice@mander.xyz 4 points 3 weeks ago* (last edited 3 weeks ago)

One of the best apps out there. (Helps me a lot since I don't use auto-correct/auto-suggestion and I try to read books in English.)

I use the English wordnet and the Greek wiktionary provided by their github page.

It's good for 4 uses:

  1. Translating words (whatever language to greek with wiktionary)

  2. Explaining words (english to english with wordnet or greek to greek wit wiktionary)

  3. Cheking the conjugation of various words (with wiktionary)

  4. Helping me with spelling for words I have hard time (using both wordnet and wiktionary)

The fact that it is online makes it much much faster than anything else. (In the past I would search them on ddgo and it would take time.)

[-] Achyu 1 points 3 weeks ago

The fact that it is online

Offline, right?

It is very cool.

The english wiktionary file is quite large. Are there other smaller versions?
Wordnet is pretty good, so asking just to know if there are other dictionaries.

[-] BlastboomStrice@mander.xyz 2 points 3 weeks ago* (last edited 3 weeks ago)

Offline, right?

As long as you set Load remote content to never๐Ÿ˜… (I think when this is turned on it loads stuff like images and such from wikipedia etc. which take unecessary cache space, so I leave it off).

About the english wiktionary, oi.. it's huge (for comparison, the greek one is ~200mb).

I don't know if there's a less complex version available anywhere.. Maybe try creating an issue on aard2 github page. They seem to be active in general (btw, they also run an ftp server where they store ~all the dictionaries you see on github of multiple verions.) Also take a look here on the other projects, maybe you'll find something useful (I'm taking a look at it now).

As an extra topic, have you managed to convert wordnet dictionaries to .slob from pyglossary? I have found some ancient tools on github, but never made it (possibly you need to code some stuff).

[-] Achyu 2 points 3 weeks ago* (last edited 3 weeks ago)

I haven't tried it with the wordnet dictionaries.

There seems to be an Wordnet2Slob github repo by the maintainer of Aard2.
https://github.com/itkach/wordnet2slob/

[-] AnarchistArtificer@slrpnk.net 3 points 3 weeks ago

Something that I've wanted from a dictionary app for a while is the ability to add custom definitions for words that I may not have a dictionary for.

For example, I am told by a friend that the Finnish word "pimahtaa" means "to go ape shit". I don't plan on learning Finnish, so I don't need a whole Finnish dictionary.

Another less isolated example is how when I was learning Attic Greek, I wanted to build my own personal dictionary from the ground up, where the only words in it would be what I had learned and added myself, also allowing me to add new words.

It feels like a fairly simple problem to solve, but I'm not sure what to search for, I wonder if you have any advice, OP?

[-] Achyu 1 points 3 weeks ago* (last edited 3 weeks ago)

The dictionary app shared here has pre-compiled dictionary files. The files can be edited and new entries can be added through some tools, but the app does not have that feature.

Which dictionary apo do you use? Maybe it has some tools like that?

If you're looking for creating a whole new dictionary, then I think there maybe opensource tools for it on the net. Like writing your word and definition in a csv, xml or json file and converting it into some dictionary format.
Pyglossary supports converting csv/xml/txt files to some of the popular opensource dictionary formats.

[-] GravitySpoiled@lemmy.ml 2 points 3 weeks ago

I'd love to use it but I think it's too difficult to set up

[-] Achyu 6 points 3 weeks ago* (last edited 3 weeks ago)

The extra part is for making/updating slob files on our own.
You can directly download the app. Pre-made dictionaries for it are available.

[-] BlastboomStrice@mander.xyz 3 points 3 weeks ago* (last edited 3 weeks ago)

What language do you want?

You have to download the dictionary (I'd suggest both wordnet and wiktionary, they have a page with links to each type of dictionary here), put them in a specific directory, open aard2 and add them to the list of dictionaries.

[-] callcc@lemmy.world 2 points 3 weeks ago

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

[-] BlastboomStrice@mander.xyz 3 points 3 weeks ago* (last edited 3 weeks 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 2 points 3 weeks ago

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

[-] Vaeril@sh.itjust.works 2 points 3 weeks ago

I'm a big fan of this app as well. It is my favorite dictionary app at the moment. I'm using the English Wiktionary database. I've tried QuickDic and Poet Assistant, but I prefer Aard's UI.

[-] x4740N@lemm.ee 1 points 3 weeks ago

How is this with Japanese because I'm currently learning it and would like to check this out

[-] Achyu 2 points 3 weeks ago* (last edited 3 weeks ago)

They have a Japanese wiktionary slob file. I don't know Japanese, so not sure what the actual content is, but it seems to have definitions of both Japanese and English words in Japanese.

this post was submitted on 14 Jun 2024
50 points (98.1% liked)

F-Droid

7418 readers
61 users here now

F-Droid is an installable catalogue of FOSS (Free and Open Source Software) applications for the Android platform. The client makes it easy to browse, install, and keep track of updates on your device.

Website | GitLab | Mastodon

Matrix space | forum | IRC

founded 3 years ago
MODERATORS