Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Splitting compound (concatenated) words )

by Utilitarian (Vicar)
on May 15, 2012 at 16:02 UTC ( #970668=note: print w/replies, xml ) Need Help??


in reply to Splitting compound (concatenated) words )

Parsing through a word and making sure that all of its characters are consumed by one of a list of existing words shouldn't be too difficult, however the problem will arise with words that aren't actually concatenated (or can be legitimately split in various ways.) For example the plant cotoneaster has no relationship to fabric, nor christian festivals...

print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://970668]
help
Chatterbox?
Discipulus earthquake in roma..
[Corion]: Discipulus: Whoa! I hope just a minor quake
[Discipulus]: it is probably far from roma.. i hope is not another dramatic event..

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2017-01-18 09:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (161 votes). Check out past polls.