[修改]语音识别校验接口要求匹配率提高到70%
CI / Docker-Build (push) Failing after 1m49s
Details
CI / Docker-Build (push) Failing after 1m49s
Details
This commit is contained in:
parent
dbe197eba6
commit
495681db5d
|
@ -70,7 +70,7 @@ public class VoiceTrainingService implements IVoiceTrainingService {
|
|||
byte[] monoData = convertToMonoChannel(fileData);
|
||||
VoiceRecognitionResult voiceRecognitionResult = voiceRecognition(
|
||||
new VoiceRecognitionVO(monoData, contentType));
|
||||
boolean match = StrUtils.isMatch(text, voiceRecognitionResult.getResult(), 20);
|
||||
boolean match = StrUtils.isMatch(text, voiceRecognitionResult.getResult(), 70);
|
||||
return new VoiceVerifyResultVO(voiceRecognitionResult.getResult(), match);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue