Hmm...Dunno how to do it..But googled it and found this
Dictionary and Thesaurus - Merriam-Webster Online
hope it helps you a little..
chandan (25 August, 2009)
looks like what you want is to split the words if they are found in dictionary.
this could be achieved if we have a disctionary of words arranged in reverse order of length.
i.e. largest word in the beginning and smallest in the end.
and by comparing each word with the list if match found the split the list.
I will try and make a code when possible.
a quick google search reveals this
How can I split multiple joined words? - Stack Overflow
hope this could help you.