开源跨平台的词典软件:GoldenDict

jopen 10年前

GoldenDict 是一款不错的、与 StarDict(星际译王)类似的词典软件。它使用 WebKit 作为渲染核心,格式化、颜色、图像、链接等支持一应俱全;支持多种词典文件格式,包括 Babylon 的 .BGL 文件、StarDict 的 .ifo/.dict/.idx/.syn 文件、Dictd 的 .index/.dict(.dz) 文件、ABBYY Lingvo 的 .dsl/.lsa/.dat 文件;可查询 Wikipedia、Wiktionary 等基于 MediaWiki 的 Wiki 网站,且能够通过模板 Url 模式来使用其他的在线词典网站;具有基于 Hunspell 的 morphology 系统;包含完整的 Unicode 支持、scan 弹窗及全局热键等功能。

该项目具有以下特点:

  • Use of WebKit for an accurate articles' representation, complete with all formatting, colors, images and links.
  • Support of multiple dictionary file formats, namely:
    • Babylon .BGL files, complete with images and resources
    • StarDict .ifo/.dict./.idx/.syn dictionaries
    • Dictd .index/.dict(.dz) dictionary files
    • ABBYY Lingvo .dsl source files, together with abbreviations. The files can be optionally compressed with dictzip. Dictionary resources can be packed together into a .zip file.
    • ABBYY Lingvo .lsa/.dat audio archives. Those can be indexed separately, or be referred to from .dsl files.
  • Support for Wikipedia, Wiktionary, or any other MediaWiki-based sites to perform lookups in.
  • Ability to use arbitrary websites as dictionaries via templated Url patterns.
  • Ability to run arbitrary external programs for audio playback or content generation (text-to-speech, man pages etc) (use the latest Git version for this)
  • Support for looking up and listening to pronunciations from forvo.com
  • Hunspell-based morphology system, used for word stemming and spelling suggestions.
  • Ability to index arbitrary directories with audio files for pronunciation lookups.
  • Full Unicode case, diacritics, punctuation and whitespace folding. This means the ability to type in words without any accents, correct case, punctuation or spaces (e.g. typing 'Grussen' would yield 'grüßen' in German dictionaries).
  • Scan popup functionality. A small window pops up with the translation of a word chosen from another application.
  • Support for global hotkeys. You can spawn the program window at any point, or directly translate a word from the clipboard.
  • Tabbed browsing in a modern Qt 4 interface.
  • Cross-platform: Linux/X11 and Windows + portable to others.
  • Free software: GNU GPLv3+ license.
</div> 效果如图:

开源跨平台的词典软件:GoldenDict

项目主页:http://www.open-open.com/lib/view/home/1394883675681

</span>