lxm 1 year ago
parent
commit
ab00a2b093
  1. 2
      local_plugins/azure_speech/android/src/main/kotlin/com/yunqiinnovation/azure_speech/AzureTtsHelper.kt

2
local_plugins/azure_speech/android/src/main/kotlin/com/yunqiinnovation/azure_speech/AzureTtsHelper.kt

@ -380,7 +380,7 @@ class AzureTtsHelper(private val context: Context) : ITtsService {
}
lastSpeakTime = currentTime
val currentText = cleanTextForTTS(streamBuffer.toString())
val currentText = streamBuffer.toString() //cleanTextForTTS(streamBuffer.toString())
// 定义标点符号列表
val punctuationMarks = listOf('.', '。', '!', '!', '?', '?', ';', ';', ',', ',', ':', ':', '\n')

Loading…
Cancel
Save