Message Boards Message Boards

0
|
3685 Views
|
1 Reply
|
2 Total Likes
View groups...
Share
Share this post:

List all words that match a given phonetic pattern?

Posted 2 years ago

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

POSTED BY: Lucien Grondin
Posted 2 years ago

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.

POSTED BY: Rohit Namjoshi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract