php - Is there any logic to validate whether a group of letters could be considered a phonetic word? -


this question has answer here:

basically, if i'm given random jumble of letters, need check see if phonetically considered word.

i'm not looking validate against dictionary list, since don't care if letters form actual word or not. need determine whether or not letters in correct format considered word.

for example:

aaaaaa // not valid, because there no consonants bbbbbb // not valid, because no vowels dogcat // valid, though not word, because phonetically makes considered word dapmar // valid, though nothing word, phonetically works 

i realize there going exceptions logic given, doesn't have exact science, catch majority, general logic work me.

i think boils down whether or not jumble of letters can pronounced easily.

any appreciated, thanks!

prevent letters repeated more 3 times first, example ccc invalid (or maybe every letters except vowels aaaaa, eeeee, uuuuu ok), check words list of existing words of language if want check something, if you're generating pronouncable word don't think you'll need existing words.

pleas check this: pronounceability algorithm , http://10000ideas.blogspot.fr/2011/07/what-makes-word-pronounceable.html , 1 : measure pronounceability of word?


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -