DEV Community

dneutr0n
dneutr0n

Posted on

how can i start on a synonym service which provide synonyms for given word?

Top comments (1)

Collapse
 
somedood profile image
Basti Ortiz • Edited

I'm no machine learning expert (not even by a longshot), but I think it would be a good start to split words by their vowels. The syllables of a word are usually separated by its vowels. The key word is usually.

Then, you can train a neural network to split words by their vowels and identify syllables from the split sections. Further trial and error will allow the neural network to correctly split a word by its syllables. It will also be able to know whether or not a group of letters that happen to be separated by vowels are syllables.

Finally, you can train the network to identify compound words. By doing that, the network can automatically identify syllables alreadyโ€”that being the components of a compound word.