speechbrain/speechbrain

[Feature Request]: Stree info in G2P output

ease-zh opened this issue ยท 1 comments

๐Ÿš€ The feature

The soundchoice-g2p module returns ARPABET without stress, which is very important for TTS usage.

Solution outline

g2p-en returns ARPABET with stress and even keeps the punctuation.

Additional context

No response

Hi @ease-zh, for keeping the punctuations there is a _g2p_keep_punctuations function in speechbrain.utils.text_to_sequence, however I don't think we have stress yet. @flexthink may know more about it.