Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^3: Term document matrix for search engine

by SuicideJunkie (Vicar)
on Nov 09, 2012 at 17:35 UTC ( #1003191=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Term document matrix for search engine
in thread Term document matrix for search engine

That sounds like it would defeat the purpose of the assignment.

Take a read through perldata, but IMO the best thing to do is have a small script on the side where you can play around try things out quickly.

And to understand what your code is doing, I highly recommend use Data::Dumper; and then later in your code, say print Dumper \%hash;. The output from dumper is about the same as code which will create the data structure, so it is really handy for learning. Curly brackets for nested hashes, square brackets for nested arrays.

Comment on Re^3: Term document matrix for search engine
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2015-10-13 09:07 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (297 votes), past polls