I'm using RStudio and have an utterance variable and a syllables variable with the syllable count. Every utterance that contains "t-shirt" needs one syllable count more. (Automatically qdap syllable_sum gave "t-shirt" it 1 (it needs 2)).
An example: yellow t-shirt has 3 (it needs 4 syllables).
I don't want to write everything that I have tried that hasn't worked. I have found examples of this, but not for R that I can use.