Open radomirbosak opened 4 years ago
See e.g. Kragen: https://www.duden.de/rechtschreibung/Krage#aussprache
I'm not sure how it should be formatted though. So far I've encountered just words with dot (short stress) or a bar under some of their letters.
Maybe something like this?
>>> word.pronunciation [ "Kr", "", "a", ".", "nkenwagen", "" ]
This is just the Betonung part, in the pronunciation, there's also a Lautschrift part which is the IPA pronunciation of the word. Parsing that would also be useful.
Betonung
Lautschrift
Note that IPA pronunciation data was added in #136
A screenshot of the location of the emphasis part of the page:
See e.g. Kragen: https://www.duden.de/rechtschreibung/Krage#aussprache
I'm not sure how it should be formatted though. So far I've encountered just words with dot (short stress) or a bar under some of their letters.
Maybe something like this?
This is just the
Betonung
part, in the pronunciation, there's also aLautschrift
part which is the IPA pronunciation of the word. Parsing that would also be useful.