Open cgendreau opened 9 years ago
I wouldn't understand what either did based on name alone. Perhaps:
/**
* Returns true only if the determined confidence level exceeds the given threshold
*/
public boolean confidenceExceeds(int threshold) {...}
yes, good point, but the method should probably includes the threshold.
I suggest to add
isConfidenceDefinite()
to the ParseResult class to make the check less verbose. The method signature could also behasConfidence(CONFIDENCE)
.