Provided by: python3-pyglossary_4.5.0-3_all
NAME
PyGlossary - A tool for converting dictionary files
DESCRIPTION
PyGlossary is a tool for working with dictionary databases (glossaries) Basic Usage: PyGI (Gtk3) Interface: To open PyGlossary window: pyglossary PyGI is the default interface (so you never need to use "--ui=gtk" option) If PyGI was not found (not installed), then PyGlossary will fallback to Tkinter interface. Tkinter Interface: To open PyGlossary window: pyglossary --ui=tk Usually good for Windows and Mac OS X Command Line Interface: To show this help: pyglossary --help To show program version: pyglossary --version To Convert: pyglossary INPUT_FILE OUTPUT_FILE To Reverse: pyglossary INPUT_FILE OUTPUT_FILE.txt --reverse Input and output files formats will be detected from extensions. Except that you explicitly specify input or output format, for example: pyglossary mydic.utf8 mydic.ifo --read-format=tabfile pyglossary mydic.utf8 mydic.ifo --read-format tabfile pyglossary mydic.ifo mydic.utf8 --write-format=tabfile pyglossary mydic.ifo mydic.utf8 --write-format tabfile General Options: Verbosity: -v0 or '--verbosity 0' for critical errors only -v1 or '--verbosity 1' for errors only -v2 or '--verbosity 2' for errors and warnings -v3 or '--verbosity 3' for errors, warnings and info -v4 or '--verbosity 4' for debug mode Appearance: --no-progress-bar and --no-color, useful for Windows (non-Unix) command line Full Convert Usage: pyglossary INPUT_FILE OUTPUT_FILE [-vN] [--read-format=FORMAT ] [--write-format=FORMAT] [--sort|--no-sort] [--direct|--indirect] [--sort-cache-size=2000] [--utf8-chec k|--no-utf8-check] [--lower|--no-lower] [--read-options=READ_OPTIONS] [--write-options=WRITE_OPTION S] Command line arguments and options (and arguments for options) is parsed with GNU getopt method You can also just type extension of output file instead of full path, if you want to create with the sam e input file name with another extension. For example: pyglossary mydic.ifo txt instead of: pyglossary mydic.ifo mydic.txt Compressing with gz, bz2 and zip is supported, just append these extension to the file name, for ex ample:" pyglossary mydic.ifo mydic.txt.gz or pyglossary mydic.ifo txt.gz And if the input file has these extensions (gz, bz2, zip), it will be extracted before loading Supported input formats: Name | Description | Extentions -------------------+---------------------------------+--------------- BabylonBgl | Babylon (bgl) | .bgl CC-CEDICT | CC-CEDICT | .u8 Csv | CSV | .csv Dicformids | DictionaryForMIDs | .mids DictOrg | DICT.org file format (.index) | .index ABBYYLingvoDSL | ABBYY Lingvo DSL (dsl) | .dsl Edlin | Editable Linked List of Entries | .edlin GettextPo | Gettext Source (po) | .po LingoesLDF | Lingoes Source (LDF) | .ldf OctopusMdict | Octopus MDict | .mdx OctopusMdictSource | Octopus MDict Source | .mtxt Sdict | Sdictionary Binary(dct) | .dct Stardict | StarDict (ifo) | .ifo Tabfile | Tabfile (txt, dic) | .txt .tab .dic WikipediaDump | Wikipedia Dump(Static HTML) | .wiki Xdxf | XDXF | .xdxf .xml Supported output formats: Name | Description | Extentions -------------------+---------------------------------+---------------- AppleDict | AppleDict Source (xml) | .xml BabylonSource | Babylon Source (gls) | .gls .babylon Csv | CSV | .csv Dicformids | DictionaryForMIDs | .mids DictOrg | DICT.org file format (.index) | .index Edlin | Editable Linked List of Entries | .edlin Freedict | FreeDict (tei) | .tei GettextPo | Gettext Source (po) | .po LingoesLDF | Lingoes Source (LDF) | .ldf OctopusMdictSource | Octopus MDict Source | .mtxt Omnidic | Omnidic | .omni .omnidic SdictSource | Sdictionary Source (sdct) | .sdct Sql | SQL | .sql Stardict | StarDict (ifo) | .ifo Tabfile | Tabfile (txt, dic) | .txt .tab .dic Treedict | TreeDict | .tree .treedict