From 495681db5dea3107959ac0fe37db04664d9d3bfa Mon Sep 17 00:00:00 2001 From: thesai <1021828630@qq.com> Date: Fri, 7 Jun 2024 18:10:20 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E6=94=B9]=E8=AF=AD=E9=9F=B3=E8=AF=86?= =?UTF-8?q?=E5=88=AB=E6=A0=A1=E9=AA=8C=E6=8E=A5=E5=8F=A3=E8=A6=81=E6=B1=82?= =?UTF-8?q?=E5=8C=B9=E9=85=8D=E7=8E=87=E6=8F=90=E9=AB=98=E5=88=B070%?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../club/joylink/rtss/services/voice/VoiceTrainingService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/club/joylink/rtss/services/voice/VoiceTrainingService.java b/src/main/java/club/joylink/rtss/services/voice/VoiceTrainingService.java index 88e5e0b03..63af7148a 100644 --- a/src/main/java/club/joylink/rtss/services/voice/VoiceTrainingService.java +++ b/src/main/java/club/joylink/rtss/services/voice/VoiceTrainingService.java @@ -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); }