Skip to content
Japanese pitch accent annotations in simple SVG.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
accdb.js
draw_pitch.py
index.html
pitch.html
pitch_auto.html
preview.gif
preview.mp4

README.md

Pitch accent illustrations in SVG.

Features

  • clean and simple SVG
  • high/low pitch indicators aligned with kana
  • each accent position corresponds to one mora, 拗音 (e.g. きゃ) are automatically merged
  • web interface with pitch accent lookup based on Wadoku data

Web interface

Python

  • $ python3 draw_pitch.py <characters> <pitch_pattern>
    • where pitch pattern is made up of 012 or l and h
  • example
    $ python3 draw_pitch.py はな 010 > 花.html
    $ firefox 花.html
    

Notes

You can’t perform that action at this time.