Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: extract phrases of n-words length

by suaveant (Parson)
on Jun 24, 2009 at 15:57 UTC ( [id://774437]=note: print w/replies, xml ) Need Help??


in reply to extract phrases of n-words length

One thing you could do to scale up would be instead of using many different hashes, use a single multi-level hash... so you would do $phrase{$word_one}{$word_two}{$word_three}{$word_four}, that should save some space and get you all your phrases, though it would be more work to get them out.

Then again, all the added hash overhead might nullify the savings... it would make the data more usable in certain applications, however.

                - Ant
                - Some of my best work - (1 2 3)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2024-04-26 07:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found