Skip to content
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

Add support for the DictionaryForMID format #13

Closed
humenda opened this issue Nov 2, 2016 · 4 comments
Closed

Add support for the DictionaryForMID format #13

humenda opened this issue Nov 2, 2016 · 4 comments

Comments

@humenda
Copy link
Member

humenda commented Nov 2, 2016

DictionaryForMID is a dictionary program featuring a custom format, importer
scripts and also an Android client.
Documentation seems good and both authors of the desktop / mobile version are
active. Their architecture model is described here:
http://dictionarymid.sourceforge.net/development.html.

For the short term, we could easily leverage their dictd2dictionaryformid
conversion process, see
http://dictionarymid.sourceforge.net/DfM-Creator/index.html and the GUI
http://dictionarymid.sourceforge.net/DfM-Creator/gui-DictdToDictionaryForMIDs.html.

For the longer term, I'd like to create template overrides for our style sheets
which would format certain parts of our format differently, so that we could
make use of the formatting features of the DictionaryForMID format. For
instance, example sentences can be formatted separately. That is ideally not to
much effort, since the format in use is quite close to the dictd format, see
http://dictionarymid.sourceforge.net/faq.html.

Last but not least, the project features its own API to inform about new
dictionaries and more importantly, to push the dictionaries to mobile devices.
See http://dictionarymid.sourceforge.net/ota.php?p=1.

I would like to see this format supported and would love to integrate our
FreeDict API into DictionaryForMID, so that we don't replicate efforts.

@bansp
Copy link
Member

bansp commented Nov 2, 2016

I looked at the linked pages (and a few more) and can't find those extra formatting features (for example sentences and such), could you please link the relevant docs?
Maybe inserting these features could be a matter of an option in how the tei2dict stylesheet is invoked.

@tunichtviel
Copy link

In the DictionaryForMIDs terminology we use "Content Declarations" to denote pronunciations, articles, explanations, or whatever content is used by a dictionary.

Each 'content' is marked by content tags (example):
dictionary [01dikshionari] [02noun] [03A book that contains translations for words.]

Further explained at http://dictionarymid.sourceforge.net/DfM-Creator/newdictContent.html

And, of course, if there are any questions, please ask!

@tunichtviel
Copy link

Besides: those freedict dictionaries that I converted to DictionaryForMIDs format (that was > 5 years ago!) already use that Content Declaration to tag the pronunciation.

@karlb
Copy link
Member

karlb commented Nov 24, 2017

Moved to freedict/tools#6.

@karlb karlb closed this as completed Nov 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants