Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 761 Bytes

File metadata and controls

19 lines (13 loc) · 761 Bytes

About

This repository contains the source code of a script which is used to generate a pitch accent dictionary for use with Yomichan. It uses the data provided by the kanjium repository, specifically the file accents.txt.

Usage

A node script is used to generate the dictionary data:

node main.js path/to/accents.txt ./output

The data can then be added to a .zip archive using any software. The example below uses the 7z command line executable to generate the archive:

7z a -tzip -mx=9 -mm=Deflate -mtc=off -mcu=on kanjium_pitch_accents.zip ./output/*.json