View Single Post
Old 02-26-2021, 01:54 AM   #10
karl42
Junior Member
karl42 can differentiate black from dark navy bluekarl42 can differentiate black from dark navy bluekarl42 can differentiate black from dark navy bluekarl42 can differentiate black from dark navy bluekarl42 can differentiate black from dark navy bluekarl42 can differentiate black from dark navy bluekarl42 can differentiate black from dark navy bluekarl42 can differentiate black from dark navy bluekarl42 can differentiate black from dark navy bluekarl42 can differentiate black from dark navy bluekarl42 can differentiate black from dark navy blue
 
Posts: 8
Karma: 13090
Join Date: Jul 2020
Device: Kobo Forma
Quote:
Originally Posted by genoasalami View Post
What would be involved in converting a single language offline wiki to a Stardict or dicthtml file? I know that wiki is huge, but maybe some slimmed-down version?
If you want the complete wiki pages, the process would probably be
* Download wiki dump
* Read wiki markup from dump and convert to HTML pages
* Combine HTML pages into StarDict dictionary

Unless you are lucky and find tools that do this exactly in the way you want (or some already did the steps for you), this will involve at leas some amount of programming. Also that it can be cumbersome to find information in large wiki pages (e.g. translations in Wiktionary pages).

Since I go the different route of using a [semantically parsed version of Wiktionary](http://kaiko.getalp.org/about-dbnary/) and creating my own pages from that, I can't give specific instructions. I'm also not generating StarDict files directly, but I'm using [pyglossary](https://github.com/ilius/pyglossary).
karl42 is offline   Reply With Quote