清单1是一个普通文本文法的原型。
请注意不合文法的“2Entry”标题。
Flex和Bison是用来解析文法的一对功能强大的组合。
Flex and Bison are a powerful combination for parsing grammars.
本教程将对一个简单的案例研究用xml建模,并说明文法的几次迭代。
It goes on to model a simple case study in XML, while showing several iterations of a grammar.
文法的程序规则返回散列引用,其中包含作为文本的代码、注释和字符串。
The grammar's program rule returns a hash reference with the code, comments, and strings available inside it as text.
尽管诸如srgs和SISR之类的技术主要偏向于自然语言的处理,但是程序员们也在寻找将这些工具用于其他类型文法的途径。
While technologies such as SRGS and SISR lean mostly toward the processing of natural language, programmers look for ways to use those same tools for other types of grammars.
y:Bison使用的输入文法。
可以在一个程序中用具有不同文法和用途的多个解析器。
Multiple parsers can be used with different grammars and purposes in a single program.
利用HTK构建一个音频模型需要您用特定的格式表达文法,如清单2所示。
Building an audio model with HTK requires that you express the grammar in a particular format, as in Listing 2.
xml文法和XML消息集是完全不同的东西。
XML grammars and XML message sets are very different beasts.
有些文法规则可以产生特定的语义类型,这需要像清单2中一样对Bison进行声明。
Some grammar rules produce specific semantic types, which have to be declared to Bison as in Listing 2.
正如我们所见,文法可以来自一个文件或来自一个内部的文本字符串。
As we have seen, grammar can also come from a file or from an internal text string.
根据DTD文法生成QDML文件之后,必须编辑该文件来定义文档的根元素,并为非string值(在这里,是几个int)添加类型信息。
After generating the QDML file from a DTD grammar I had to edit the file to define the document root element and add type information for non-String values (a couple of ints, in this case).
好像MPS还可以编排语言的文法。
中级教育是由文法学院,职业技校和艺术学院提供的。
Secondary education is provided in grammar schools, vocational schools and art schools.
莎士比亚可能就读于斯特拉特福德的文法学校,在那里他学习拉丁语,阅读古典文学。
Shakespeare probably attended the grammar school in Stratford, where he would have studied Latin and read classical literature.
德语Gymnasium基本上相当于英格兰的文法学校。
The German 'Gymnasium' is the closest equivalent to the grammar school in England.
创建支持各种输入的VXML文法。
你可能学过许多不同类的文法和标点符号规则,但在使用它们时最好保持一致。
The rules of grammar and punctuation you learned may differ from others, but you had better be consistent in your use of them.
首先必须理解:象其它所有编程语言一样,XSL只是一种需要实现的文法规范。
It must first be understood that XSL, like all other programing languages, is merely a grammar specification in need of an implementation.
请您记住xml文法和XML消息集之间的区别。
Keep in mind the differences between XML grammars and XML message sets.
要获得一个可移植性更好的Bison文法版本,我们需要重新定义 +-*/()符号。
To get a more portable version of the Bison grammar, the symbols +-*/() are redefined.
与此同时,那些具有优良声誉的地方学校,如文法学校,大部分被外地孩子占满了。
Meanwhile those local schools with excellent reputations, such as the grammar schools, are largely populated by children from outside the area.
文法包含四个单词,并且使用这些单词只给出三种可能的答案。
The grammar contains four words, and using those words gives only three possible answers.
Quick提供了非常大的灵活性且功能强大,但它只支持DTD文法,而且使用起来相当复杂。
Quick offers a very high degree of flexibility and power, but only supports DTD grammars and is fairly complex to use.
几乎可以肯定,他是在镇上念的文法学校,但对此我们没有绝对把握。
He almost certainly attended the Grammar School in the town, but of this we cannot be sure.
从文法学校到大学的课程设置应该逐渐发展到更少关注事实记忆而更多关注创造力和复杂交流的层面。
Curriculums—from grammar school to college—should evolve to focus less on memorizing facts and more on creativity and complex communication.
因为MPS不是基于文本的,它没有任何文本上的文法。
Since MPS isn't text based, it doesn't have any text-based grammar.
伊丽莎白时代的大多数人在读完文法学校之后就没有继续读书了,所以莎士比亚确实至少受过中等教育。
Most people of the Elizabethan times did not continue beyond grammar school, so Shakespeare did have at least an average education.
伊丽莎白时代的大多数人在读完文法学校之后就没有继续读书了,所以莎士比亚确实至少受过中等教育。
Most people of the Elizabethan times did not continue beyond grammar school, so Shakespeare did have at least an average education.
应用推荐