From: Alex Murygin <murygin@aitoc.com> To: sisyphus@altlinux.ru Subject: Re: [sisyphus] I: stardict Date: Tue, 6 May 2003 10:43:45 +0300 Message-ID: <20030506104345.69f29467.murygin@aitoc.com> (raw) In-Reply-To: <3EB75A6A.1040903@users.sourceforge.net> On Tue, 06 May 2003 10:47:06 +0400 Ildar Mulyukov <ildar@users.sourceforge.net> wrote: > Alex, ppl, > Вещь предельно куульная и классная, это мой ИМО (который не очень > humble). Программка мне понравилась за 5 минут. > И вопрос по существу: > как на счёт импорта словарей из dict-формата? Как я понял, Вы это уже Сегодня буду заливать slovnyk*. Я его уже сконвертировал, но заливать буду только вечером. > проделали с Мюллером. Много ли ручного труда? Есть ресурсы на эту > тему? Где читать? Основной ресурс /usr/share/doc/stardict-2.0.0/DICTFILE_FORMAT но мне он не очень сильно помог. Помогла переписка с автором и лазанье по коду.;) Есть файл /usr/bin/oxford2dic он принимает текстовый файл в котором перевод сделан следующим образом. -------------------- слово перевод слово перевод -------------------- Причем "слово" должно быть в utf-8 (в Мюллере, я забыл переконвертировать, но там руских слов только 171 :) А перевод должен быть в текущей локали. Возникают 2 файла oxford.dict (файл с переводами) oxford.idxdata (файл и индексами) теперь к oxford.idxdata надо добавить заголовок --------------- StarDict's idx file version=2.0.0 bookname='name of the dictionary' description='description' sametypesequence=m BEGIN: --------------- И наконец cp oxford.dict /usr/share/stardict/dic/mydicname.dict cp oxford.idxdata /usr/share/stardict/dic/mydicname.idx Перезапускаем stardict и радуемся :) > А ещё: может, можно заточить программу напрямую работать с dictd по > сети? По сети вряд ли, а вот чтение сырых dictd фалов, может получится уломать автора (по крайней мере dictd он уже поставил :) > > Спасибо. > С уважением, Ильдар. > > > > -- > Ildar Mulyukov, > free SW designer/programmer > ================================================ > email: ildar@users.sourceforge.net > > projects: http://os-development.sourceforge.net/ > > home: http://www.faki.mipt.ru/~ildar > ================================================ > > _______________________________________________ > Sisyphus mailing list > Sisyphus@altlinux.ru > http://altlinux.ru/mailman/listinfo/sisyphus > -- ----------------------- - Alex Murygin, AITOC - -----------------------
next prev parent reply other threads:[~2003-05-06 7:43 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-05-04 18:56 Alex Murygin 2003-05-06 6:47 ` Ildar Mulyukov 2003-05-06 7:43 ` Alex Murygin [this message] 2003-05-06 8:06 ` [sisyphus] " Michael Shigorin 2003-05-06 20:58 ` [sisyphus] " Alex Murygin 2003-05-08 16:37 ` Ildar Mulyukov 2003-05-08 17:22 ` Alex Murygin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20030506104345.69f29467.murygin@aitoc.com \ --to=murygin@aitoc.com \ --cc=sisyphus@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git