Get the confidence as a float (0.0 to 1.0).
(&self)
| 302 | |
| 303 | /// Get the confidence as a float (0.0 to 1.0). |
| 304 | pub fn confidence_float(&self) -> Option<f32> { |
| 305 | self.confidence.map(|c| c as f32 / 100.0) |
| 306 | } |
| 307 | |
| 308 | /// Get a display string for the author. |
| 309 | pub fn author_display(&self) -> String { |
nothing calls this directly
no outgoing calls
no test coverage detected