Skip to content
This repository was archived by the owner on Mar 5, 2022. It is now read-only.

Commit 1caaaf9

Browse files
Alexandre Lissyest31
Alexandre Lissy
authored andcommitted
Rename probability to confidence
See mozilla/DeepSpeech#2358
1 parent 8b4f0a3 commit 1caaaf9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,9 @@ impl Metadata {
161161
}
162162
}
163163

164-
pub fn probability(&self) -> f64 {
164+
pub fn confidence(&self) -> f64 {
165165
unsafe {
166-
(*self.metadata).probability
166+
(*self.metadata).confidence
167167
}
168168
}
169169
}

sys/deepspeech

Submodule deepspeech updated 56 files

0 commit comments

Comments
 (0)