Skip to content

IllDepence/SVG_pitch

Repository files navigation

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

About

Japanese pitch accent annotations in simple SVG.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published