Perl: the Markov chain saw | |
PerlMonks |
Re: Finding dictionary words in a string.by bart (Canon) |
on Mar 16, 2004 at 20:37 UTC ( [id://337113]=note: print w/replies, xml ) | Need Help?? |
I have some serious doubts on the scale of the operation, but perhaps you could try applying Regex::PreSuf on the dictionary words, and match the string using this constructed regex. It looks fine in theory, except probably for memory constraints, and perhaps more stringent constraints on the size of the compiled regex.
In Section
Seekers of Perl Wisdom
|
|