1
yomichan-import/README.md

54 lines
3.0 KiB
Markdown
Raw Normal View History

2021-12-15 04:27:16 +00:00
<!-- +++
Area = "projects"
GitHub = "yomichan-import"
Layout = "page"
Tags = ["epwing", "golang", "japanese", "mit license", "yomichan", "zero-epwing"]
Description = "External dictionary importer for the Yomichan browser extension."
Collection = "ProjectsActive"
+++ -->
2021-06-09 04:02:14 +00:00
# Yomichan Import
2016-12-30 01:35:03 +00:00
2017-02-27 00:48:58 +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:
2016-12-30 01:35:03 +00:00
* [JMdict](http://www.edrdg.org/jmdict/edict_doc.html)
* [JMnedict](http://www.edrdg.org/enamdict/enamdict_doc.html)
* [KANJIDIC2](http://www.edrdg.org/kanjidic/kanjd2index.html)
2021-01-02 05:05:20 +00:00
* [Rikai](https://www.polarcloud.com/getrcx/)
2016-12-30 01:35:03 +00:00
* [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) (広辞苑第六版 &bull; 付属資料)
* [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) (学研国語大辞典 &bull; 古語辞典 &bull; 故事ことわざ辞典 &bull; 学研漢和大字典)
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
2021-06-09 04:02:14 +00:00
## Installation
2016-12-30 01:35:03 +00:00
2021-12-15 04:32:29 +00:00
Pre-built binaries are available for Linux, Mac OS X, and Windows on the [project
page](https://github.com/FooSoft/yomichan-import/releases).
2016-12-30 01:35:03 +00:00
2021-06-09 04:02:14 +00:00
## Basic 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
2021-01-02 05:05:20 +00:00
1. Launch the `yomichan-gtk` executable after extracting the entire archive (or `yomichan` from the command line).
2017-06-27 03:35:41 +00:00
2. Specify the source path of the dictionary you wish to convert.
3. Specify the target path of the dictionary ZIP archive that you wish to create.
2021-12-16 02:06:35 +00:00
4. Press the button labeled `Import dictionary...` and wait for processing to complete.
2017-06-27 03:35:41 +00:00
5. On the Yomichan options page, browse to the dictionary ZIP archive file you created.
6. 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.