in reply to Re^11: statistics of a large text
in thread statistics of a large text
I want :my $prob_es = ( keys %$hash_es ) / 6939873; my $prob_en = ( keys %$hash_en ) / 6939873;
which is the number of elements of the value array of each key!my $prob_es = ( $#{$hash_es{$string_es}} + 1) / 6939873; my $prob_en = ( $#{$hash_es{$string_en}} + 1 ) / 6939873;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^13: statistics of a large text
by BrowserUk (Patriarch) on Feb 11, 2011 at 09:47 UTC |