# normalised all the index values to be in the range 0..1 # removed "stop words" $docindex = { 'Perl' => 1, 'Python' => 0.5, 'Rain' => 0.5, 'Tuesday' => 0.5, 'Wednesday' => 0.5, 'Thursday' => 0.5, 'Friday' => 0.5 }; #### $docindex = { 'Perl' => 1, 'Python' => 0.5, ... '~~Course11' => 1 };