-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrule-template.txt
61 lines (61 loc) · 3.94 KB
/
rule-template.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"default":[
{"id":1,"status":true,"applyScope":"actionStep","simpleRules":[
{"subject":"subject_Val","operation":"in","val":["the system","$actor","系统"]}
],"operation":"-","description":"default rule1:主语必须是系统或actor"},
{"id":3,"status":true,"applyScope":"actionStep","simpleRules":[
{"subject":"subject_Val","operation":"in","val":["$actor"]},
{"subject":"object_Val","operation":"in","val":["$actor"]}
],"operation":"!&","description":"default rule3:禁止用户间交互"},
{"id":4,"status":true,"applyScope":"actionStep","simpleRules":[
{"subject":"verb_count","operation":"in","val":[1]}
],"operation":"-","description":"default rule4:一句话只能表述一个动作(只有一个动词)"},
{"id":5,"status":true,"applyScope":"actionStep","simpleRules":[
{"subject":"sentence_tense","operation":"in","val":["present"]}
],"operation":"-","description":"default rule5:只能用现在时"},
{"id":6,"status":true,"applyScope":"actionStep","simpleRules":[
{"subject":"sentence_tense","operation":"notin","val":["past"]}
],"operation":"-","description":"default rule6:不能使用被动语态"},
{"id":8,"status":true,"applyScope":"allSentence","simpleRules":[
{"subject":"strs","operation":"notin","val":["?","!"]},
{"subject":"subject_count","operation":"in","val":[1]}
],"operation":"-&","description":"default rule8:使用陈述句式"},
{"id":10,"status":true,"applyScope":"allSentence","simpleRules":[
{"subject":"modal_verb_count","operation":"in","val":[0]}
],"operation":"-","description":"default rule10:不能使用情态动词"},
{"id":11,"status":true,"applyScope":"allSentence","simpleRules":[
{"subject":"adverb_count","operation":"in","val":[0]}
],"operation":"-","description":"default rule11:不能使用副词"},
{"id":12,"status":true,"applyScope":"allSentence","simpleRules":[
{"subject":"subject_count","operation":"in","val":[1]},
{"subject":"verb_count","operation":"in","val":[0,1]}
],"operation":"-&","description":"default rule12:使用简单句,主语与谓语唯一"},
{"id":14,"status":true,"applyScope":"allSentence","simpleRules":[
{"subject":"pronoun_count","operation":"in","val":[0]}
],"operation":"-","description":"default rule14:不能使用代词"},
{"id":15,"status":true,"applyScope":"allSentence","simpleRules":[
{"subject":"participlePhrases_count","operation":"in","val":[0]}
],"operation":"-","description":"default rule15:不能使用分词短语"},
{"id":17,"status":true,"description":"default rule17:ketword-INCDLUDE USECAE"},
{"id":18,"status":true,"description":"default rule18:ketword-EXTENDED BY USE CASE"},
{"id":19,"status":true,"description":"default rule19:RFS字段有正确引用"},
{"id":20,"status":true,"description":"default rule20:ketword-IF ELSE"},
{"id":21,"status":true,"description":"default rule21:ketword-MEANWHILE"},
{"id":22,"status":true,"description":"default rule22:ketword-VALIDATES THAT"},
{"id":23,"status":true,"description":"default rule23:ketword-DO ... UNTIL"},
{"id":24,"status":true,"description":"default rule24:ketword-ABORT"},
{"id":25,"status":true,"description":"default rule25:ketword-RESUME STEP"},
{"id":26,"status":true,"description":"default rule26:post condition不为空"}
],
"user-def":[
{"id":0,"applyScope":"actionStep","simpleRules":[{
"subject":"subject_Val",
"operation":"in",
"val":["the system"]
}],
"operation":"-",
"status":true,
"description":"user Rule 1"
}
]
}