File: README.rst

package info (click to toggle)
stardicter 1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 268 kB
  • sloc: python: 1,047; sh: 124; makefile: 4
file content (89 lines) | stat: -rw-r--r-- 2,856 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
Stardicter
==========

Conversion tools from various formats to StarDict_.

Currently it can convert following dictionaries:

* `GNU/FDL Anglicko-Český slovník <https://www.svobodneslovniky.cz/>`_
* `GNU/FDL Německo-Český slovník <http://gnu.nemeckoceskyslovnik.cz/>`_
* `Slovník cizích slov <http://slovnik-cizich-slov.abz.cz/>`_
* `dicts.info dictionaries <http://www.dicts.info/>`_

.. image:: https://travis-ci.org/nijel/stardicter.svg?branch=master
    :target: https://travis-ci.org/nijel/stardicter
    :alt: Build Status

.. image:: https://landscape.io/github/nijel/stardicter/master/landscape.svg?style=flat
    :target: https://landscape.io/github/nijel/stardicter/master
    :alt: Code Health

.. image:: https://codecov.io/github/nijel/stardicter/coverage.svg?branch=master
    :target: https://codecov.io/github/nijel/stardicter?branch=master
    :alt: Code coverage

.. image:: https://img.shields.io/pypi/v/stardicter.svg
    :target: https://pypi.python.org/pypi/stardicter
    :alt: PyPI package

You can find more information at project website:

https://cihar.com/software/slovnik/

Git repository is available at GitHub: 

https://github.com/nijel/stardicter

Requirements
============

Scripts require dictzip to compress dictionaries. You can get it from 
http://sourceforge.net/projects/dict/

Installation
============

You can either clone the git repositry and run the scripts from it or install
using pip::

    pip install stardicter

Usage
=====

The main script is ``sdgen.py``, it downloads and generates StarDict
dictionaries. Check it's help for more information.

Additionally there are some helper script which directly generate tarballs with
dictionary.

Generating dictionary from dicts.info
=====================================

The http://dicts.info/ server provides downloadable dictionaries for many
languages. Unfortunately the license does not allow redistribution, so you need
to generate them yourself. With stardicter it is easy:

    ./dicts_info_tarball.sh italian czech

This generates tarball with italian-czech dictionary. You can choose any
language provided by the service.

License
=======

Copyright (c) 2006 - 2017 Michal Čihař

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program. If not, see http://www.gnu.org/licenses/.

.. _StarDict: http://stardict-4.sourceforge.net/