Cortana 语音支持Cortana voice support

Cortana voice 会指导用户完成 OOBE,使用户能够通过响应口头提示符来完成 OOBE 的部分。Cortana voice walks the user through the OOBE experience, enabling the user to complete parts of OOBE by responding to spoken prompts. OOBE 期间 Cortana 语音当前以以下语言提供: zh-cnes-MXja-JPen-GBfrit 、反 deesfr-caen-cazh-cnpt-BRzh-chsCortana voice during OOBE is currently available in the following languages: en-US , es-MX , ja-JP , en-GB , fr-FR , it-IT , de-DE , es-ES , fr-CA , en-CA , en-AU , pt-BR , zh-CN.

备注

对于 Windows 10 1903 及更高版本,默认情况下,在 Windows 10 专业版、企业版和教育版上,将禁用 Cortana 语音。With Windows 10 1903 and later, the Cortana voice-over will be disabled by default on Windows 10 Pro, Enterprise, and Education. 对于 Windows 10 家庭版,仍将启用 Cortana 语音。The Cortana voice-over will still be enabled for Windows 10 Home editions.

language在 OOBE.xml 中设置的值影响 OOBE 期间使用的语音。The language value you set in OOBE.xml impacts the voice used during OOBE. 的 OOBE.xml 值 language 必须是与 Windows 语言包关联的语言/区域 DECIMAL ID。The OOBE.xml value for language must be a language/region decimal ID associated with a Windows language pack. 例如, 英语 (美国) 语言包的关联语言/区域的十进制 ID 为 1033For example, the English (United States) language pack has an associated language/region decimal ID of 1033. 有关可以在 OOBE.xml 中设置的语言/区域十进制 Id 的完整列表,请参阅 适用于 Windows 的可用语言包For a full list of language/region decimal IDs that you can set in OOBE.xml, see Available Language Packs for Windows.

当客户从 OOBE 的语言选择屏幕中选择语言后,Cortana 语音已启用。Cortana voice is enabled after the customer selects a language from the Language selection screen in OOBE. 如果客户选择的语言与 OOBE.xml 中的结合使用,cortana language 将支持该语言,cortana 会在输入区域选择页面时提供该语言的帮助。If the language selected by the customer, combined with the language in OOBE.xml, is supported by Cortana, Cortana will assist in that language upon entering the Region selection page.

Cortana 语音将继续用同一支持的语言来协助解决 OOBE 过程。Cortana voice will continue to assist throughout the OOBE process in that same supported language. 即使用户在区域页面上选择 Cortana 不支持的区域,或选择将导致 Cortana 在 OOBE 后使用不同强调的区域,Cortana 语音在 OOBE 期间将不会更改。Even if the user selects a region on the Region page that is not supported by Cortana, or selects a region that would cause Cortana to use a different accent after OOBE, Cortana voice will not change during OOBE.

如果 "语言" 页上的客户选择的语言与中的 language OOBE.xml 不是 Cortana 支持的组合之一,则 OOBE 体验将为无提示。If the language selected by the customer on the Language page combined with the language in OOBE.xml is not one of the supported combinations for Cortana, then the OOBE experience will be silent.

用户完成 OOBE 后,Cortana 应用中使用的语音将基于 OOBE 期间所选的语言和区域。After the user completes OOBE, the voice used in the Cortana app will be based on the Language and Region selected during OOBE. 此时,Cortana 将不再考虑 OOBE.xml 中的语言。At that point, Cortana will no longer consider the language in OOBE.xml.

以下是一些示例:Here are a few examples:

OOBE) 客户 (选择的语言Language selected by customer (during OOBE) OOBE.xml 中设置的语言Language set in OOBE.xml OOBE) 客户 (选择的区域Region selected by customer (during OOBE) 在 OOBE 期间 (Cortana 的语音帮助结果) Cortana voice assistance result (during OOBE) OOBE 之后 (Cortana 应用语音结果) Cortana app voice result (after OOBE)
英语English 1033 (en-us 语言包) 1033 (en-US language pack) 244 (US) 244 (US) zh-CNen-US zh-CNen-US
英语English 2057 (en-GB 语言包) 2057 (en-GB language pack) 244 (US) 244 (US) en-GBen-GB zh-CNen-US
俄语Russian 1049 (ru-RU 语言包) 1049 (ru-RU language pack) 203 (RU) 203 (RU) 无提示Silent 不支持Not supported

禁用 Cortana 语音支持Disable Cortana voice support

出于测试目的,可以关闭 Cortana 语音,但必须在设备出厂之前再次启用 Cortana。For testing purposes, you can turn Cortana voice off, but you must enable it again before the device ships. 若要暂时关闭 Cortana 语音,请设置以下注册表项。To temporarily turn Cortana voice off, set the following registry key.

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE : DisableVoice = 1 (DWORD)

备注

只能出于测试目的禁用此设置。This setting should only be disabled for testing purposes. 将设备寄送到禁用 Cortana 语音支持的设备是不受支持的配置。Shipping a device with Cortana voice support disabled is an unsupported configuration.

"你好 Cortana" 功能“Hey Cortana” feature

“你好小娜”功能使用户能够通过说出“你好小娜”来更轻松地与 Windows 10 设备中的小娜互动。The “Hey Cortana” feature enables users to more easily engage Cortana on their Windows 10 device by speaking the phrase “Hey Cortana”.

对于符合硬件要求的设备,用户可以选择在 OOBE 流程中启用 "你好 Cortana",在屏幕上询问用户是否想要使 Cortana 成为个人助手。For devices that meet hardware requirements, users have the option of enabling "Hey Cortana" during the OOBE flow, on the screen which asks the user if they’d like to make Cortana their personal assistant. 默认情况下,此选项处于未选中状态。The option is unchecked by default.

在 OOBE 后,用户还可以从 cortana & 搜索设置 中启用 "你好 cortana"。After OOBE, users can also enable "Hey Cortana" from Cortana & Search Settings. 默认情况下,未启用 "你好 Cortana"。By default, "Hey Cortana" is not enabled.

配置“你好小娜”Configure Hey Cortana

为了优化电池寿命,默认情况下,Windows 仅会询问用户是否要在桌面设备上使用麦克风启用 "你好 Cortana"To optimize battery life, by default, Windows only asks users if they want to enable "Hey Cortana" on desktop devices with a microphone

对于 Windows 10 版本1709及更高版本,如果你的设备满足策略要求(包括 硬件卸载密钥 spotter (HW KWS) ),则也会在 OOBE 期间包含此选项。For Windows 10, version 1709 and later, you an also include this option during OOBE if your device meets the policy requirement of including a hardware-offloaded key spotter (HW KWS).

对于满足此要求的设备,请设置注册表项:For devices that meet this requirement, set the registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech_OneCore\AudioPolicy : VoiceActivationIsBatteryCertified = 1。HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech_OneCore\AudioPolicy : VoiceActivationIsBatteryCertified = 1.

若要了解详细信息,请参阅 语音激活To learn more, see Voice Activation.

OOBE 期间 Cortana 语音识别性能Cortana voice recognition performance during OOBE

在 OOBE 流期间,Cortana 可能无法像平时一样有效地识别用户语音。During the OOBE flow, Cortana may not recognize user speech as effectively as usual.

Cortana (如其他支持 Windows 语音的功能)依赖于自动语音识别 (在设备上和云中运行的 ASR) 系统。Cortana, like other Windows voice-enabled functionality, relies on automated speech recognition (ASR) systems that run both on the device and in the cloud. 这些系统包括用于筛选出背景噪音的增强功能,识别重音语音,并以其他方式说明应该对其执行操作的单词和短语与应忽略的字词和短语之间的差异。These systems include enhanced abilities to filter out background noise, recognize accented speech, and otherwise tell the difference between words and phrases that should be acted upon and words and phrases that should be ignored. 但是,若要访问云 ASR 系统,Windows 必须具有用户同意和 internet 连接。However, to access the cloud ASR systems, Windows must have user consent and a connection to the internet. 这些可能在 OOBE 流程中不可用。These may not be available during the OOBE flow. 在这种情况下,Windows 将使用一种更受限制的仅脱机 ASR 系统,该系统不具有 Cortana 通常提供的可靠性级别。In that case, Windows uses a more limited, offline-only ASR system that does not have the level of robustness that Cortana usually offers.

评估输入音频时,ASR 系统会计算一个称为置信度分数的数值。While assessing input audio, an ASR system computes a numerical value known as a confidence score. 然后,它将设置验收阈值:高于阈值,结果为。低于阈值时,结果将被忽略。Then it sets an acceptance threshold: Above the threshold, results are acted upon; Below the threshold, results are ignored. ASR 系统具有更好的功能,它可以更好地分类传入的数据,并将合理的置信度分数分配给结果。The more capable the ASR system, the better it can generally classify incoming data and assign well-differentiated confidence scores to results. 使用此数据时,ASR 系统会改善其执行操作的能力,在该系统应 ("正确的接受" ) ,而不应 ("正确的拒绝" ) 时执行操作。Using this data, the ASR system improves its ability to act when it’s supposed to (a “correct accept”) and not act when it isn’t supposed to (a “correct reject”). ASR 系统还使用数据来限制其在不应 ("假 accept" ) 时的频率,或在应 ("假拒绝" ) 时无法采取措施。The ASR system also uses the data to limit how often it acts when it shouldn’t (a “false accept”) or fails to act when it should (a “false reject”).

对于不太可靠的 ASR 系统,OOBE 流使用该系统的不接受的值,而 false 会更主动地拒绝。The less robust ASR system that the OOBE flow uses balances its false accepts and false rejects more aggressively. 最大程度地减少了错误接受,这一点非常重要。It’s very important for the OOBE flow to particularly minimize false accepts. Windows 10 版本1809版本引入了对此余额的进一步调整,该调整解决了干扰环境中出现的 false 报告。The Windows 10 version 1809 release introduced a further adjustment to this balance that addressed reports of false accepts that occurred in noisy environments. 这意味着,在某些情况下,更可靠、更可靠的最谈话 Cortana 和语音产品会正确接受由更有限的系统拒绝的错误。This means that some utterances that the more robust, online Cortana and speech products would correctly accept end up falsely rejected by the more limited system. 因此,在 OOBE 流期间,Cortana 看起来不是正确地听到用户 (尤其是在干扰环境中) 。As a result, during the OOBE flow Cortana does not appear to correctly hear the user (especially in noisy environments).