比如,如果指定或者期望出现特定的短语 “I am sad”,通常要按照文法规则明确定义它,如:(eye am sad)。
Normally, if you specify or expect a specific phrase, such as "I am sad" you define the phrase explicitly in the grammar rules, for example: (eye am sad).
如果在同一个文件里混用多种语言,必须保证文法不会出现二义性,也就是说所有的输入都只能存在一种解释。
If you want to combine languages inside of a file, you have to be sure that the resulting grammar isn't ambiguous, i.e. that for each input there is only one way to interpret it.
春秋战国时期(公元前770年-公元前221年),中国开始制定成文法,出现了自成体系的成文法典。
In the Spring and Autumn and Warring States periods (770-221 BC), written law was promulgated in China, and a systematic written code of laws appeared.
应用推荐