yxspeechrecognition 1.7.4 → 1.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1593,7 +1593,12 @@ var SpeechRecognizer = /*#__PURE__*/function () {
1593
1593
  return;
1594
1594
  } else {
1595
1595
  // 去掉英文
1596
- if (response.result) if (response.result.voice_text_str) response.result.voice_text_str = response.result.voice_text_str.replace(/[a-zA-Z]/g, '');
1596
+ // if (response.result)
1597
+ // if (response.result.voice_text_str)
1598
+ // response.result.voice_text_str = response.result.voice_text_str.replace(
1599
+ // /[a-zA-Z]/g,
1600
+ // ''
1601
+ // )
1597
1602
  if (!_this.isSignSuccess) {
1598
1603
  _this.OnRecognitionStart(response);
1599
1604
  _this.isSignSuccess = true;