jitenbot

Convert data from Japanese dictionary websites and applications into portable file formats

GPL-3.0 License

Stars
26

Bot releases are visible (Hide)

jitenbot - Furigana Latest Release

Published by stephenmk about 1 year ago

The kotowaza dictionary from jitenon.jp contains many very long expressions. The readings of these expressions are displayed in parentheses like this:

  • 長崎ばってん、江戸べらぼう、神戸兵庫のなんぞいや、ついでに丹波のいも訛(ながさきばってん、えどべらぼう、こうべひょうごのなんぞいや、ついでにたんばのいもなまり)

edo_jitenon

This update to Jitenbot has been designed to use furigana to combine these expressions and readings:

  • 長崎ながさきばってん、江戸えどべらぼう、神戸兵庫こうべひょうごのなんぞいや、ついでに丹波たんばのいもなまり

edo

(Relevant commits: 1, 2, 3)

jitenbot - MDict link enhancements

Published by stephenmk about 1 year ago

1. Subentry lists (commit)

Mdict subentry lists are now compactly organized into columns. The width of the columns is determined by the longest expression in the list, and the number of columns changes dynamically based on the available screen space.

subentries

2. Generalized link targets (commit)

Previously, internal links within Mdict dictionaries would link to specific entry IDs. For example, the sankoku8 entry for ゆうし[勇姿] contains a link to its homophone ゆうし[雄姿]. Previously this link would have used its ID, @sankoku8-060747-0000, but the link now contains the search key ゆうし【雄姿】. This allows Goldendict to also pull up entries from other dictionaries which contain the ゆうし【雄姿】 search key.

3. Improved link styles (commit)

Links will now embolden, switch to gothic font styles, and become underlined when hovered over.

These styles that are used in every dictionary have been moved into a separate stylesheet file in order to make reuse easier.

subentries