...语句块又是由语句构成,语句又由表达构成,表达又是由词法记号(token)构成文法可以使用上下文无关的文法(context-free grammars)或者BNF(Backus - Naur Form)范式来描述 分析器(parser):从图中可以看出,parser获取词法记号流(..
基于38个网页-相关网页
如果您使用一种上下文无关的文法,那么n元语法的结构(参见参考资料)可能是您所需要的。
If you work with a context-free grammar, the structure of n-gram (see Resources) might be what you require.
其中文法部分采用了上下文无关文法,语义部分则是一个带操作集的语义系统。
DOSFSG is a kind of context free grammar, DOSFSS is a kind of semantics with operation set.
这些启发规则同时也适用于对上下文无关文法的其它推断方法。
These rules are also suitable for other methods for inferring context-free grammars.
应用推荐