Hi Lucien,
WordData
can return the PhoneticForm
for a word.
WordData["hello", "PhoneticForm"]
(* "həlˈoʊ" *)
Perhaps you can build an Association
of the words you are interested in (or all words in WordData[]
) and their phonetic form. Then use StringContainsQ
to do the pattern matching.