Skip to content

Commit 3cd4fd1

Browse files
committed
Added documentation to SetHighSensitivity
1 parent 1950940 commit 3cd4fd1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

include/snowboy-detect.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@ class SnowboyDetect {
9797
// Make sure you properly align the sensitivity value to the corresponding
9898
// hotword.
9999
void SetSensitivity(const std::string& sensitivity_str);
100+
101+
// Similar to the sensitivity setting above. When set higher than the above
102+
// sensitivity, the algorithm automatically chooses between the normal
103+
// sensitivity set above and the higher sensitivity set here, to maximize the
104+
// performance. By default, it is not set, which means the algorithm will
105+
// stick with the sensitivity set above.
100106
void SetHighSensitivity(const std::string& high_sensitivity_str);
101107

102108
// Returns the sensitivity string for the current hotwords.

0 commit comments

Comments
 (0)