首页 \ 问答 \ 微软语音识别SRGS(Microsoft Speech recognition SRGS)

微软语音识别SRGS(Microsoft Speech recognition SRGS)

我一直在使用Windows语音sdk创建一个语音识别uwp应用程序。 我一直在浏览这个链接的例子https://msdn.microsoft.com/en-us/library/hh378355(v=office.14).aspx它运作得很好但出于好奇我想看看是否有语音将通过使用播放命令中的任何单词组合来识别,例如“播放项目”...现在正确的组合应该是“播放项目”,并且不应该将这些单词的任何其他组合选为sdk的匹配。 有趣的是,sdk正在挑选规则项的任意组合。 我的问题是,如何阻止它从教程中选择规则项的任何组合,因为它不应该像这样工作。


I've been creating a speech recognition uwp app using Windows speech sdk. I've been walking through the example from this link https://msdn.microsoft.com/en-us/library/hh378355(v=office.14).aspx It works just fine but out curiosity I want to see if speech would be recognized from using any combination of words in the play command eg 'the play item' ...now the correct combination should be 'play the item' and any other combination of the words should not be picked as a match by the sdk. Funny enough the sdk is picking up any combination of the rule items. My question is, how can I stop it from picking any combination of the rule items cause from the tutorial it's not supposed to work like this.


原文:https://stackoverflow.com/questions/38822767
更新时间:2022-07-09 14:07

最满意答案

您可以对.MarkerStyle = xlMarkerStyleNone对象使用.MarkerStyle = xlMarkerStyleNone

将它放在所需系列的With块中,如下所示:

With SeriesMAX
    .Values = MAXyaxis
    .XValues = MAXxaxis
    .MarkerStyle = xlMarkerStyleNone
End With

You can use .MarkerStyle = xlMarkerStyleNone against the DataSeries object.

Place it inside the With block of the desired series, like this:

With SeriesMAX
    .Values = MAXyaxis
    .XValues = MAXxaxis
    .MarkerStyle = xlMarkerStyleNone
End With

相关问答

更多
  • 因此,对于第一部分,我们有一个支持文档,说明如何制作十字型线条: http : //www.devexpress.com/Support/Center/kb/p/K18053.aspx (基本上使用常量线条以鼠标移动更新) 第二部分使用背景设置为Color.Transparent(annotation.BackColor = Color.Transparent)的图像注释。 也为您的图像使用PNG文件(因为他们很容易支持幻灯片)。 需要帮助请叫我! -Bryan Wood - DevExpress Char ...
  • 您可以对.MarkerStyle = xlMarkerStyleNone对象使用.MarkerStyle = xlMarkerStyleNone 。 将它放在所需系列的With块中,如下所示: With SeriesMAX .Values = MAXyaxis .XValues = MAXxaxis .MarkerStyle = xlMarkerStyleNone End With You can use .MarkerStyle = xlMarkerStyleNone again ...
  • 您需要存储symbol属性。 例如: options.marker.symbol = this.symbol; 演示: http : //jsfiddle.net/ax3o8uf3/22/ You need to store symbol property. For example: options.marker.symbol = this.symbol; Demo: http://jsfiddle.net/ax3o8uf3/22/
  • 悬停状态仅适用于悬停的点。 如果要设置要悬停的所有标记,则需要以编程方式更改其状态,例如,在系列鼠标悬停/鼠标移除时。 series: [{ stickyTracking: false, events: { mouseOver: function() { this.data.forEach(p => p.setState('hover')) }, mouseOut: function() { this.data.forEach(p => p.setState()) } ...
  • 你可以很容易地使用ZingChart做到这一点。 我们有一个jsRule ,允许您定义一个函数。 在函数中,您返回我们的marker语法,以将marker或节点的样式更改为其最常见的名称。 另一种方法是在我们的rules明确地编写语法,这是jsRule的硬编码形式。 我在以下演示中添加了两个。 您可以将标记对象中的任何属性添加到以下语法中。 /* * callback argument format: { "id":"myChart", "graphid":"myChart-grap ...
  • 找到了: