Skip to content

toasted-nutbread/yomichan-pitch-accent-dictionary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Script to create a pitch accent dictionary for Yomichan

Resources

License

Stars

Watchers

Forks

Packages

No packages published