/SVG_pitch

Japanese pitch accent annotations in simple SVG.

Primary LanguageHTMLMIT LicenseMIT

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