1
Go to file
stephenmk 7bff70b71c
JMdict: Ensure part-of-speech info is added in non-English versions
Only English-language senses in JMdict contain part-of-speech tags.
This info is displayed to users in definition tags and also used
for deinflecting verbs and adjectives during term lookups.

The old version of Yomichan-Import took the PoS tags from the final
sense in the English version of an entry and applied them to every
sense of every other language. For example, 川・かわ has two senses in
English JMdict: a noun sense and a suffix sense. Therefore every sense
of 川・かわ in every other language was tagged as a suffix.

Instead, I suggest gathering all distinct PoS tags from each English
entry and applying them all to each non-English sense. Every
non-English sense of 川・かわ will therefore be tagged as both a noun
and suffix.
2023-02-02 10:44:16 -06:00
img Add site metadata 2021-12-14 20:27:16 -08:00
scripts Hide new JMdict structured content features behind "extra" option 2023-01-29 14:06:50 -06:00
yomichan Switch to foosoft.net for packages 2022-07-03 20:59:33 -07:00
yomichan-gtk Switch to foosoft.net for packages 2022-07-03 20:59:33 -07:00
.gitignore Add site metadata 2021-12-14 20:27:16 -08:00
.gitmodules Remove zero-epwing related files 2020-12-31 20:42:43 -08:00
common.go Rename some jmdict functions 2023-02-01 19:14:37 -06:00
daijirin.go Use empty interface type for dictionary glossaries 2023-01-22 14:14:33 -06:00
daijisen.go Use empty interface type for dictionary glossaries 2023-01-22 14:14:33 -06:00
epwing.go Simplify logic for index.json struct 2023-01-28 18:39:08 -06:00
frequency.go Simplify logic for index.json struct 2023-01-28 18:39:08 -06:00
gakken.go Use empty interface type for dictionary glossaries 2023-01-22 14:14:33 -06:00
go.mod Add new JMdict version 2023-01-22 14:37:18 -06:00
go.sum Add new JMdict version 2023-01-22 14:37:18 -06:00
jmdict_constants.go Simplify declaration of constants 2023-01-29 20:06:46 -06:00
jmdict_forms.go Rename some jmdict functions 2023-02-01 19:14:37 -06:00
jmdict_glossary.go Hide new JMdict structured content features behind "extra" option 2023-01-29 14:06:50 -06:00
jmdict_headword.go Add support for undocumented frequency and information tags 2023-01-29 22:34:13 -06:00
jmdict_metadata.go JMdict: Ensure part-of-speech info is added in non-English versions 2023-02-02 10:44:16 -06:00
jmdict_references.go Use snake_case in filenames 2023-01-28 18:17:06 -06:00
jmdict_tags.go New JMnedict version 2023-02-01 18:55:03 -06:00
jmdict.go JMdict: Ensure part-of-speech info is added in non-English versions 2023-02-02 10:44:16 -06:00
jmnedict_generic_terms.go New JMnedict version 2023-02-01 18:55:03 -06:00
jmnedict_text_util.go New JMnedict version 2023-02-01 18:55:03 -06:00
jmnedict.go New JMnedict version 2023-02-01 18:55:03 -06:00
kanjidic.go Simplify logic for index.json struct 2023-01-28 18:39:08 -06:00
kotowaza.go Use empty interface type for dictionary glossaries 2023-01-22 14:14:33 -06:00
koujien.go Use empty interface type for dictionary glossaries 2023-01-22 14:14:33 -06:00
LICENSE Update copyright 2023-01-22 15:00:13 -06:00
meikyou.go Use empty interface type for dictionary glossaries 2023-01-22 14:14:33 -06:00
README.md Update README 2022-07-14 14:24:32 -07:00
rikai.go Simplify logic for index.json struct 2023-01-28 18:39:08 -06:00
shougakukan2.go Use empty interface type for dictionary glossaries 2023-01-22 14:14:33 -06:00
structured_content.go Use snake_case in filenames 2023-01-28 18:17:06 -06:00
wadai.go Use empty interface type for dictionary glossaries 2023-01-22 14:14:33 -06:00

Yomichan Import

Yomichan Import allows users of the Yomichan extension to import custom dictionary files. It currently supports the following formats:

Yomichan Import is being expanded to support other EPWING dictionaries based on user demand. This is a mostly non-technical (although laborious) process that requires writing regular expressions and creating font tables; volunteer contributions are welcome.

Installation and Usage

Follow the steps outlined below to import your custom dictionary into Yomichan:

  1. Download a pre-built binary for Linux, Mac OS X or Windows from the project page.
  2. Launch the yomichan-gtk executable after extracting the entire archive (or yomichan from the command line).
  3. Specify the source path of the dictionary you wish to convert.
  4. Specify the target path of the dictionary ZIP archive that you wish to create.
  5. Press the button labeled Import dictionary... and wait for processing to complete.
  6. On the Yomichan options page, browse to the dictionary ZIP archive file you created.
  7. Wait for the import progress to complete before closing the options page.

Notice: When converting EPWING dictionaries on Windows, it is important that the dictionary path you provide does not contain non-ASCII characters (including Japanese characters). This problem is due to the fact that the EPWING library used does not support such paths. Attempts to convert dictionaries stored in paths containing illegal characters may cause the conversion process to fail.