SingingPub

Sunday, 3 July 2022

[New post] Syl·lab·i·fi·ca·tion of Phonemes

Site logo image synsinger posted: " One of the things that synSinger needs to do is take multi-syllable words, convert them to phonemes, and then split those phonemes back into syllables. The good news is that I've got a version of the CMU Pronouncing Dictionary that does exactly that. " synSinger

Syl·lab·i·fi·ca·tion of Phonemes

synsinger

Jul 3

One of the things that synSinger needs to do is take multi-syllable words, convert them to phonemes, and then split those phonemes back into syllables.

The good news is that I've got a version of the CMU Pronouncing Dictionary that does exactly that. Here's a portion of it:

SHUPP  SH AH1 P SHUR  SH ER1 SHURE  SH UH1 R SHURGARD  SH UH1 R G AA2 R D SHURLEY  SH ER1 L IY0 SHURR  SH ER1 SHURTLEFF  SH ER1 T L IH0 F SHURTLIFF  SH ER1 T L IH0 F SHURTZ  SH ER1 T S SHUSTER  SH AH1 S T ER0 SHUSTERMAN  SH AH1 S T ER0 M AH0 N SHUT  SH AH1 T SHUTDOWN  SH AH1 T D AW2 N SHUTDOWNS  SH AH1 T D AW2 N Z SHUTE  SH UW1 T SHUTES  SH UW1 T S SHUTOUT  SH AH1 T AW2 T

For words in the CMU Dictionary, it's simply a process of doing a lookup.

For words not in the dictionary, the process is a bit more complex.

I've got a modified copy of the 1976 rules-based English-to-phonemes program from the Naval Research Laboratory. For example, here's the rules for the /T/ section:

  -- T   "(TH)",           "TH",   "#:(TED)",        "TIXD",   "S(TI)#N",        "CH",   "(TI)O",          "SH",   "(TI)A",          "SH",   "(TIEN)",         "SHUN",   "(TUR)#",         "CHER",   "(TU)A",          "CHUW",   " (TWO)",         "TUW",   "&(T)EN ",        "",   "(T)",            "T",

The program isn't great, but as a fallback for the dictionary, it's adequate.

But there are no syllabification rules, so the phonemes still need to be split into syllables.

In one respect, this is a non-issue. As a rule of singing, all phoneme at the head of a note is the vowel. Any consonants that precede a vowel are moved to the end of the prior syllable.

For example, the word "geometry" is rendered phonetically as "JH IY AA M AH T R IY".

Internally, synSinger breaks the syllables at the vowels, so it would be "JH - IY - AA M - AH T R - IY". Note that the /jh/ is moved to the note or silence that precedes it.

This can look a bit odd to a user, so I've put together some code to convert phonemes generated by the rule-based code into syllables. It renders the example as "JH IY - AA - M AH - T R IY".

It isn't completely correct, but it looks reasonably accurate, which is all it needs to be. After all, it's just the fallback code.

Another option would be to write code to scan the phonetic dictionary for the phonemes that fall between vowels, and keep the most common ones as hyphenation rules. This wouldn't be too difficult to do, so I may do that at some point.

But for now, I just want to integrate the existing English-to-phoneme code so I can move forward with the synthesis code.

Comment
Like
Tip icon image You can also reply to this email to leave a comment.

Unsubscribe to no longer receive posts from synSinger.
Change your email settings at manage subscriptions.

Trouble clicking? Copy and paste this URL into your browser:
https://synsinger.wordpress.com/2022/07/03/syl%c2%b7lab%c2%b7i%c2%b7fi%c2%b7ca%c2%b7tion-of-phonemes/

Powered by WordPress.com
Download on the App Store Get it on Google Play
at July 03, 2022
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

There Is No Shortage of God’s Love Fresh Manna by Pastor Tim Burrt

Fresh Manna with Pastor Tim Burt  ...

  • You're on the list!
    Hello, ͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­...
  • Listening
    ...
  • index left
    Read on blog or  Reader ...

Search This Blog

  • Home

About Me

SingingPub
View my complete profile

Report Abuse

Blog Archive

  • June 2026 (27)
  • May 2026 (28)
  • April 2026 (26)
  • March 2026 (25)
  • February 2026 (24)
  • January 2026 (25)
  • December 2025 (24)
  • November 2025 (25)
  • October 2025 (27)
  • September 2025 (18)
  • August 2025 (31)
  • July 2025 (29)
  • June 2025 (32)
  • May 2025 (16)
  • April 2025 (18)
  • March 2025 (21)
  • February 2025 (22)
  • January 2025 (16)
  • December 2024 (22)
  • November 2024 (8)
  • October 2024 (11)
  • September 2024 (11)
  • August 2024 (2722)
  • July 2024 (3200)
  • June 2024 (3080)
  • May 2024 (3199)
  • April 2024 (3101)
  • March 2024 (3214)
  • February 2024 (3014)
  • January 2024 (3244)
  • December 2023 (3192)
  • November 2023 (2685)
  • October 2023 (2042)
  • September 2023 (1758)
  • August 2023 (1539)
  • July 2023 (1533)
  • June 2023 (1380)
  • May 2023 (1397)
  • April 2023 (1335)
  • March 2023 (1392)
  • February 2023 (1320)
  • January 2023 (1600)
  • December 2022 (1555)
  • November 2022 (1389)
  • October 2022 (1230)
  • September 2022 (1023)
  • August 2022 (1109)
  • July 2022 (1122)
  • June 2022 (1141)
  • May 2022 (1120)
  • April 2022 (1178)
  • March 2022 (1085)
  • February 2022 (763)
  • January 2022 (924)
  • December 2021 (1347)
  • November 2021 (2424)
Powered by Blogger.