1
yomichan-import/README.md

42 lines
2.8 KiB
Markdown
Raw Normal View History

2021-06-09 04:02:14 +00:00
# Yomichan Import
2016-12-30 01:35:03 +00:00
2022-02-06 02:20:31 +00:00
Yomichan Import allows users of the [Yomichan](https://foosoft.net/projects/yomichan) extension to import custom
dictionary files. It currently supports the following formats:
* [JMdict XML](http://www.edrdg.org/jmdict/edict_doc.html)
* [JMnedict XML](http://www.edrdg.org/enamdict/enamdict_doc.html)
* [KANJIDIC2 XML](http://www.edrdg.org/kanjidic/kanjd2index.html)
* [Rikai SQLite DB](https://www.polarcloud.com/getrcx/)
* [EPWING](https://ja.wikipedia.org/wiki/EPWING):
2017-03-22 04:10:01 +00:00
* [Daijirin](https://en.wikipedia.org/wiki/Daijirin) (三省堂 スーパー大辞林)
* [Daijisen](https://en.wikipedia.org/wiki/Daijisen) (大辞泉)
* [Kenkyusha](https://en.wikipedia.org/wiki/Kenky%C5%ABsha%27s_New_Japanese-English_Dictionary) (研究社 新和英大辞典 第5版)
* [Kotowaza](http://www.web-nihongo.com/wn/dictionary/dic_21/d-index.html) (故事ことわざの辞典)
* [Meikyou](https://ja.wikipedia.org/wiki/%E6%98%8E%E9%8F%A1%E5%9B%BD%E8%AA%9E%E8%BE%9E%E5%85%B8) (明鏡国語辞典)
2018-02-17 20:42:30 +00:00
* [Kojien](https://ja.wikipedia.org/wiki/%E5%BA%83%E8%BE%9E%E8%8B%91) (広辞苑第六版 • 付属資料)
* [Gakken](https://ja.wikipedia.org/wiki/%E5%AD%A6%E7%A0%94%E3%83%9B%E3%83%BC%E3%83%AB%E3%83%87%E3%82%A3%E3%83%B3%E3%82%B0%E3%82%B9) (学研国語大辞典 • 古語辞典 • 故事ことわざ辞典 • 学研漢和大字典)
2016-12-30 01:35:03 +00:00
2017-01-02 23:29:52 +00:00
Yomichan Import is being expanded to support other EPWING dictionaries based on user demand. This is a mostly
2017-04-01 21:25:26 +00:00
non-technical (although laborious) process that requires writing regular expressions and creating font tables; volunteer
contributions are welcome.
2016-12-30 01:35:03 +00:00
2021-12-15 04:27:16 +00:00
![](img/import.png)
2019-04-28 23:02:54 +00:00
2022-02-06 02:20:31 +00:00
## Installation and Usage
2016-12-30 01:35:03 +00:00
2021-01-02 05:05:20 +00:00
Follow the steps outlined below to import your custom dictionary into Yomichan:
2017-05-06 23:55:34 +00:00
2022-02-06 02:20:31 +00:00
1. Download a pre-built binary for Linux, Mac OS X or Windows from the [project
page](https://github.com/FooSoft/yomichan-import/releases).
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.
2022-02-06 02:22:07 +00:00
5. Press the button labeled *Import dictionary...* and wait for processing to complete.
2022-02-06 02:20:31 +00:00
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.
2017-05-06 23:55:34 +00:00
2017-09-24 22:39:52 +00:00
**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
2021-01-02 05:05:20 +00:00
library used does not support such paths. Attempts to convert dictionaries stored in paths containing illegal characters
may cause the conversion process to fail.