- or download this
while ($element = shift(@numOfWordArr)) {
$termsFreq{$element} ++;
...
$docTerms{$element}++;
}
}
- or download this
push(@docArray, \%termsFreq);
- or download this
push(@classArr, \@docArray);
- or download this
foreach my $subArr_ref(@classArr) {
print "subArr_ref: ".@{$subArr_ref}."\n";
...
# }
print $csv $i."\n";
}