The difference lies in using in scalar context (as -n does in the second script) or list context (as the first script does).
区别在于在标量上下文中的使用(如第二个脚本中使用- n)或在列表上下文中的使用(如第一个脚本所做的)。
If you work with a context-free grammar, the structure of n-gram (see Resources) might be what you require.
如果您使用一种上下文无关的文法,那么n元语法的结构(参见参考资料)可能是您所需要的。
A great example of how context-aware gaming can add considerable value to a game is ONE, an award winning First Party title for N-Gage.
背景感知为游戏带来客观价值的绝佳例子就是ONE, N - Gage上的第一方获奖游戏。
应用推荐