我是GATE,JAPE的新手。不知道注释。我查看了文档,但是,我仍然难以编写规则,例如输入内容:什么是rule()xyz - >使用规则名称,宏等。如何从初学者开始?
LIKE:
Phase:firstpass //1 what is this phase
Input: Lookup //2 when to use lookup or other other things, how to know
Options: control = brill //3 Got it
Rule: SportsCategory //4 Got it
Priority: 20 //5 Got it
( //6
{Lookup.majorType == "Sports"} //7 wht is majorType, from where it comes
): label //8 what we writeafter :
--> //9
:label.Sport = {rule= "SportsCategory" }