I am developing a java application for sentiment analysis using Naive Bayes classifier. But while computing the probability the results are very small numbers due to which we are getting an output which is zero. Using BigDecimal didn't help. I am developing a java application for sentimen