Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: Unpredictable output form Text::ExtractWords

by extremely (Priest)
on Aug 16, 2005 at 17:14 UTC ( #484195=note: print w/ replies, xml ) Need Help??

in reply to Unpredictable output from Text::ExtractWords

Change your string list to this:

my @strings = ( q|a ab abc abcd abcde|, q|abcde abcd abc ab a|, q|abcde a abc ab abcd|, q|yyy xzz wwww|, q|one two 'three'|, );
The C code strips single letter words, 2 letter words, "words" of repeating characters as non-text. Probably not very helpful. It is also buggy in handling the stripping as someone else mentioned so pick a better module! :/

$you = new YOU;
honk() if $you->love(perl)

Comment on Re: Unpredictable output form Text::ExtractWords
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://484195]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2015-12-01 22:35 GMT
Find Nodes?
    Voting Booth?

    My keyboard shows this many letters:

    Results (29 votes), past polls