japanese-db-maker
v0.6.9
Published
[đź—„Archived] Japanese language resources database maker
Downloads
16
Readme
⚠️ This project has been moved
japanese-db-maker
has been renamed to japanese-db
. Please use the latest version of japanese-db
instead of japanese-db-maker
.
NPM URL: https://www.npmjs.com/package/japanese-db
GitHub URL: https://github.com/echamudi/japanese-toolkit/tree/master/packages/japanese-db
Japanese DB Maker
Japanese language resources database maker from various open source materials.
Usage
Download required materials
- Download
JMdict_e.gz
from http://www.edrdg.org/jmdict/edict_doc.html. - Download
JMnedict.xml.gz
from https://www.edrdg.org/enamdict/enamdict_doc.html. - Download
kanjidic2.xml.gz
from http://www.edrdg.org/wiki/index.php/KANJIDIC_Project.
- Download
Extract all the files and create folder structure as follow:
myJpProject/ ├── sourceFolder/ │ ├── JMdict_e │ ├── JMnedict.xml │ └── kanjidic2.xml └── destinationFolder/ └── (empty)
The file names must be the same as above.
Open
myJpProject
folder in terminal.Run following commands
npm install japanese-db-maker -g japanese-db-maker sqlite -s ./sourceFolder -d ./destinationFolder
If it runs successfully, you'll get the result as
japanese.db
insidedestinationFolder
folder.
Development
Testing
npm link .
npm test
Acknowledgment
The generated database file contains data from following sources.
- JMdict https://www.edrdg.org/jmdict/edict_doc.html
- JMnedict http://www.edrdg.org/enamdict/enamdict_doc.html
- KANJIDIC Project http://www.edrdg.org/wiki/index.php/KANJIDIC_Project
- Wanikani Audio https://github.com/tofugu/japanese-vocabulary-pronunciation-audio
- KanjiVG https://github.com/KanjiVG/kanjivg
- Kanji https://github.com/echamudi/kanji
Authors
- Ezzat Chamudi - echamudi
See also the list of contributors who participated in this project.
License
Copyright © 2020 Ezzat Chamudi
Japanese DB Maker code is licensed under MPL-2.0. Images, logos, docs, and articles in this project are released under CC-BY-SA-4.0.
Libraries, dependencies, and tools used in this project are tied with their licenses.