mifunetoshiro / kanjium

The ultimate kanji resource
Other
278 stars 32 forks source link

Pitch accent of compound words? #14

Closed archiif closed 3 years ago

archiif commented 3 years ago

Is there any way to access the multiple pitch accents of compound words?

For example, with 一子相伝, this is what is displayed in the NHK pitch accent dictionary: image

And this is the data in accents.txt:

term     reading    accents
一子相伝  いっしそうでん  1,0

So, is there any way to at least know that the word actually consists of multiple pitch accents?

mifunetoshiro commented 3 years ago

Checking for a comma (,) with a script should give you a list of words with multiple pitch accents.