|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re: Splitting compound (concatenated) words )by BrowserUk (Pope) |
| on May 15, 2012 at 15:52 UTC ( #970664=note: print w/ replies, xml ) | Need Help?? |
|
If all the words are correctly spelt and are in your dictionary, then this appears to make a good attempt at many inputs:
But note: I had to add 'a' & 'perl' which don't appear in my dictionary; and I cheated by hardwiring the number of words (11) to look for. If I change that to a larger number (say 100), then the results are less good:
However, if I removed the iffy non-word 'aw' from my rather permissive dictionary, it once again produces the right output, but that just goes to prove how sensitive and dependent the results would be on a good dictionary and correct spelling. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||