confidence property

double confidence
final

Confidence in [0.0, 1.0].

This is a relative score within the candidate set that was compared, not a calibrated probability — the same input text can report a different confidence depending on how many (and which) languages it was compared against. See NgramBackend for the exact formula.

Implementation

final double confidence;