summaryrefslogtreecommitdiff
path: root/examples/SUMO/RGLExt/Extension.gf
blob: 72a4dd332be738e2ae136a05b44ca8d45357b4c0 (plain)
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

-- other functions needed for parsing 

abstract Extension =  {



cat
  PolSentence;
  StmtS ;
  [CN]{2};
  N; N2; A; V; V2; CN; NP; Cl; Pol; Prep; Conj; -- redefined from Cat
fun 

VerbToNounV2 : V2 -> N2 ; -- discovering
VerbToNoun : V -> N ; -- walking is healthy
VerbToGerundA : V -> A ; -- singing bird
VerbToParticipeA : V -> A ; -- the required number 
ConjCN  : Conj -> [CN] -> CN ;   -- set or class
mkPolSent : Cl -> PolSentence ; 
sentToNoun : PolSentence -> NP ;
UsePolSentence : Pol -> PolSentence -> StmtS ;

at_Prep : Prep ; 
per_Prep : Prep ; 
O1 : NP ;
O2 : NP ;
O3 : NP ;
O4 : NP ;
O5 : NP ;


};