開源跨平臺的詞典軟件:GoldenDict
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. </ul>
- 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. </ul> </div> </div> 效果如圖:
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!