Closed bheinzerling closed 8 years ago
getBestSense() returns null if all "confidence" scores are negative. I ran into this issue when working with a system that outputs scores from -inf to inf and it took a while to track down the cause of the null pointer exceptions.
Thanks; seems like a reasonable fix.
getBestSense() returns null if all "confidence" scores are negative. I ran into this issue when working with a system that outputs scores from -inf to inf and it took a while to track down the cause of the null pointer exceptions.