http://qs321.pair.com?node_id=383328


in reply to Re^2: makeing refering faster ?
in thread makeing refering faster ?

Well, I'm answering now... You'd need to change the code to place information about the words that bind the sentences among each other inside the @temp array. This means something like this:
my %referencedSentences = (); foreach my $j (@{$words[$i]}) { if (($j ne "$j") || ($j ne "v")) { if (exists $sentences->{$j}) { %referencedSentences{%j} = $sentences->{$j}; } } } push (@temp, \%referencedSentences);
So, to clarify, here is the logical structure of the @temp array: I hope that answers your questions and good luck with your Perl project. Don't hesitate to ask again, though.