summaryrefslogtreecommitdiff
path: root/examples/SUMO/RGLExt/Extension.gf
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2011-08-23 15:05:04 +0000
committerkr.angelov <kr.angelov@gmail.com>2011-08-23 15:05:04 +0000
commit5339aa80744c3afd221256d763cf784386eed573 (patch)
tree1b177490643c42910537200ac4702d3cf3df6bbc /examples/SUMO/RGLExt/Extension.gf
parent623c72ca1dd60c7e9a3b92bcfda873e42eb04adc (diff)
fix SUMO after the update in DictEng
Diffstat (limited to 'examples/SUMO/RGLExt/Extension.gf')
-rw-r--r--examples/SUMO/RGLExt/Extension.gf8
1 files changed, 3 insertions, 5 deletions
diff --git a/examples/SUMO/RGLExt/Extension.gf b/examples/SUMO/RGLExt/Extension.gf
index 72a4dd332..e9410526f 100644
--- a/examples/SUMO/RGLExt/Extension.gf
+++ b/examples/SUMO/RGLExt/Extension.gf
@@ -1,23 +1,21 @@
-- other functions needed for parsing
-abstract Extension = {
-
-
+abstract Extension = Cat ** {
cat
PolSentence;
StmtS ;
[CN]{2};
- N; N2; A; V; V2; CN; NP; Cl; Pol; Prep; Conj; -- redefined from Cat
-fun
+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 ;
+getSent : PolSentence -> S ;
sentToNoun : PolSentence -> NP ;
UsePolSentence : Pol -> PolSentence -> StmtS ;