I wrote a blurb in another thread (Need help with Pitch Accents) explaining how pitch accents work under the hood. Today I was talking with someone and it inspired me to clean it up which I have posted here: Japanese Pitch Accent
Please share your thoughts if you have any.