LunaTranslator修复使用系统语音识别&自然语音
恍兮惚兮_
编辑于 2025年07月03日 00:02

今天微软又偷偷更新了一下,把语音识别也禁用了。欲修复使用系统语音识别,更新后在userconfig/config.json里自行添加以下键值:"MicrosoftWindows.Speech.License": "This model and the software may not be used or distributed in any manner except as authorized under a valid written agreement, using the reference number 2774316. The model and software are licensed and not sold, and the agreement provides limited rights to use the model and the software and Microsoft reserves all other rights. You may not work around any technical limitations in the model or the software, reverse engineer, decompile, or disassemble the model or the software; remove, minimize, block or modify any notices of Microsoft or its suppliers in the model or the software; or, share, publish, rent, or lease the model or software, or provide the model or software as a standalone solution for others to use."

对于自然语音,则是添加以下键值:"MicrosoftWindows.Voice.License": "This model and the software may not be used or distributed in any manner except as authorized under a valid written agreement, using the reference number 2774316. The model and software are licensed and not sold, and the agreement provides limited rights to use the model and the software and Microsoft reserves all other rights. You may not work around any technical limitations in the model or the software, reverse engineer, decompile, or disassemble the model or the software; remove, minimize, block or modify any notices of Microsoft or its suppliers in the model or the software; or, share, publish, rent, or lease the model or software, or provide the model or software as a standalone solution for others to use."

至于我为什么不内置这个修复,看一下值的内容就知道了。煞笔微软。