# List all words that match a given phonetic pattern?

Posted 3 months ago
528 Views
|
|
2 Total Likes
|
 DictionnaryLookup searches for dictionary entries matching a given spelling pattern, but is there a way to search for entries matching a given phonetic pattern, possibly using the international phonetic alphabet instead of the dictionary's alphabet?This could be very useful to find mnemonics in the so-called major system
 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.