$scores[$category] = $data['probability'];
// small probability for a word not in the category
// maybe putting 1.0 as a 'no effect' word can also be good
$scores[$category] = $data['probability'];
// small probability for a word not in the category
// maybe putting 1.0 as a 'no effect' word can also be good