Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1.3 KB

README.md

File metadata and controls

28 lines (23 loc) · 1.3 KB

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