7bff70b71c
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. |
||
---|---|---|
img | ||
scripts | ||
yomichan | ||
yomichan-gtk | ||
.gitignore | ||
.gitmodules | ||
common.go | ||
daijirin.go | ||
daijisen.go | ||
epwing.go | ||
frequency.go | ||
gakken.go | ||
go.mod | ||
go.sum | ||
jmdict_constants.go | ||
jmdict_forms.go | ||
jmdict_glossary.go | ||
jmdict_headword.go | ||
jmdict_metadata.go | ||
jmdict_references.go | ||
jmdict_tags.go | ||
jmdict.go | ||
jmnedict_generic_terms.go | ||
jmnedict_text_util.go | ||
jmnedict.go | ||
kanjidic.go | ||
kotowaza.go | ||
koujien.go | ||
LICENSE | ||
meikyou.go | ||
README.md | ||
rikai.go | ||
shougakukan2.go | ||
structured_content.go | ||
wadai.go |
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:
- Download a pre-built binary for Linux, Mac OS X or Windows from the project page.
- Launch the
yomichan-gtk
executable after extracting the entire archive (oryomichan
from the command line). - Specify the source path of the dictionary you wish to convert.
- Specify the target path of the dictionary ZIP archive that you wish to create.
- Press the button labeled Import dictionary... and wait for processing to complete.
- On the Yomichan options page, browse to the dictionary ZIP archive file you created.
- 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.