-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrules.txt
79 lines (60 loc) · 2.23 KB
/
rules.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
S
// Grammar
S -> Pronoun VN | Pronoun NegVerbN | Pronoun ModV | Pronoun ModVPlace | Pronoun VTimePlace | Pronoun AdjN | PronounEx ModV | PronounEx ModVPlace | PronounEx VTimePlace | PronounEx AdjN | Pronoun NegAdj | Noun TBEx | NounEx ModAdj | Pronoun AdjN | VEx TBEx | Pronoun OccurVerb | S2 LogV | S2 LogicNegEx | S2 LogicPosEx | S2 LogicNeuEx
LogicNegEx -> LogicExpNeg S2
LogicPosEx -> LogicExpPos S2 | LogicExpPos AdjN
LogicNeuEx -> LogicExpNeu S2
S2 -> Pronoun VN | Pronoun NegVerbN | Pronoun AdjN | Pronoun ModV | Pronoun ModVPlace | Pronoun VTimePlace | PronounEx ModV | PronounEx ModVPlace | PronounEx VTimePlace | PronounEx AdjN | Pronoun NegAdj | Noun TBEx | NounEx ModAdj | VEx TBEx | Pronoun OccurVerb | Pronoun YangVEx
TBEx -> TB NPronoun | TB BAdjSuper
NPronoun -> Noun Pronoun
BAdjSuper -> BAdj Adj
PronounEx -> Pronoun YangEx
ModVPlace -> ModV PrepPlace
ModV -> Modal Verb | Modal VEx | NegModal Verb | NegModal VEx
ModAdj -> Modal Adj | Modal AdjN | Modal NegAdj
NegAdj -> Negasi AdjN | Negasi Adj
NegVerbN -> NegVerb Noun
NegVerb -> Negasi Verb
NegModal -> Negasi Modal
VEx -> Verb LogV | VN LogV
VN -> Verb Noun
LogV -> LogicExpNeu VN | LogicExpNeu Verb | LogicExpNeu VEx | LogicExpNeu NegAdj
VPlace -> Verb PlaceEx
VPrepPlace -> Verb PrepPlace
VTimePlace -> Verb OccurPlace
OccurPlace -> Occur Place | Occur PrepPlace | Day PrepPlace
OccurVerb -> Occur Verb
PlaceEx -> Place YangEx
YangEx -> Yang AdaPlace | Yang VPrepPlace
YangVEx -> YangEx ModVPlace
AdaPlace -> Ada PrepPlace2
AdjN -> Adj Noun | Adj AdaEx
AdaEx -> Ada NounEx
PrepPlace -> Prep Place | Prep PlaceEx
PrepPlace2 -> Prep Place
NounEx -> Noun LNoun | Noun Pronoun | Noun DetNoun
DetNoun -> Det Noun
// Lexicon
Pronoun -> saya | pamanku | dia
Verb -> berenang | tinggal | mau | suka | melakukannya | makan
Noun -> ubi | bisa | berenang | hobi | ular | NounEx | apapun
//Living Noun
NounEx -> BNoun LNoun
LNoun -> ular
BNoun -> bisa
Modal -> bisa | mau | suka
Place -> sabuga | sungai | desa | desanya
Day -> minggu | BDay Day
BDay -> tiap
TB -> adalah | ialah | itu
BAdj -> bisa | sangat | memang
Adj -> mematikan | aneh | takut
Occur -> sering
LogicExpNeg -> tapi
LogicExpPos -> karena
LogicExpNeu -> dan | sambil
Det -> dengan
Prep -> di
Negasi -> tidak
Ada -> ada
Yang -> yang