private void CalculateProbabilityPerTopic(string topic) { float probabilityByTopic = _iWordRepository.GetOverallProbabilityByTopic(topic); _topics[topic] = Math.Log(probabilityByTopic) + ConditionalProbabilities(topic); }