-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dictionary formats #2
Comments
Embedding images: StarDictSupport of images in different variants of StarDict:
Formats:
Notes:
Testing boundle: stardict-test-img.zip
Could import StarDict files: |
Embedding images: ABBYY DSLThis format is most popular in Russia(?), so not many applications support it. Official mobile client ABBYY Lingvo Dictionaries does not allow adding custom dictionaries. However, it contains free Latin-Russian dictionary…
Notes:
|
Embedding images: generalEven when some applications could show images referenced in the dictionary articles, all of them do it directly in the application window. As a result, full-page scans are either too small to read or too big to fit the screen; no application provides comfortable zoom/navigation. It depends on the device size, so what is good for tablet may be inconvenient for smartphone. I would prefer an option of switching between full image and icon-size, so the image be open in an external image viewer. For illustration (here Alpus did not recognize two pages in TIFF CCITT G4 format): |
Format MDictFile format v2.0; images are stored in MDD file and referenced as
Formatting: manual compilation, python-writemdict. Per app shortages:
CommentsMDict format is very pleasant; ability to include custom CSS styles and JS libraries is unique and very powerful. Dictionary applications are alive and actively developed. Morphology search is supported in MDict (Hunspell) and BlueDict (separate dictionary; probably applicable to other shells). MDict is a commercial closed format. Wang Xiaoqiang and @zhansliu analyzed versions 1.2 and 2.0, most of the libraries for Python, Java, JavaScript, etc. are based on their description of the format. Does third-party dictionary shells support current versions 4.0? |
Format: SlobSlob is another perspective format. It supports including images, CSS styles and JavaScript code in one file. Dictionary shell Aard 2 for Android is open source and does not apply limitations on use (such as no more than 5 dictionaries in Free version); GoldenDict supports Slob format. There are extensive Python libraries and tools. Disadvantages
Issues
ToDo
ConclusionSlob has all features I like in MDict. It is an open format, but MDict is more popular and better supported by dictionary shells. |
See my wiki: http://beijer.wiki/mdxbuilder-manual_eng.txt Michael Beijer (technical translator, beijer.uk/beijer.wiki) |
Use discussions, please, for further talks. This page is intended to be a place for documentation. |
Format: DICTDICT is a dictionary network protocol created in 1997 (it can work locally on the user's computer). Articles can be provided as plain text or HTML (or any other format with appropriate MIME header). All servers, particularly Dictd and Dico, support MIME option. Also, some dictionary shells, such as GoldenDict, can read files in DICT format directly. Clients
¹ can read DICT files directly Example
ConclusionThere were many clients in the past, but now we have only GoldenDict. However, it can be a good way to make an online dictionary. |
Main dictionary format of the project is XDXF. GoldenDict is a good choice for desktop users, but mobile users has no good application.
Therefore, I want to know which dictionary application (Android or iOS) you use/prefer and what supplementary formats would be useful to produce for use on mobile devices?
Related discussion on XDXF project.
Multi-format dictionary shells:
¹ only source files (DSL)
Dictionary formats
ToDo
The text was updated successfully, but these errors were encountered: