It accepts an input stream and a grammar, and internally it runs the stream through this grammar.
它接受一个输入流和一个语法,并在内部通过语法运行此输入流。
Simply, for example, to improve the method of accepting input, you might write a grammar rule for the month so you can speak the month (see Listing 6).
简单的说,例如要改进接收输入的方法,我们可以编写一个月语法规则,这样应用程序就可以直接识别月(如清单6所示)。
In this mode field values are restricted to a subset of the grammar appropriate for input in a specific field.
在该模型中,字段值限制在适合输入特定字段的子集内。
应用推荐