Fully implemented getConfidenceDictionary()