diff options
Diffstat (limited to 'examples/phrasebook/WordsFre.gf')
| -rw-r--r-- | examples/phrasebook/WordsFre.gf | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/examples/phrasebook/WordsFre.gf b/examples/phrasebook/WordsFre.gf new file mode 100644 index 000000000..733038ce3 --- /dev/null +++ b/examples/phrasebook/WordsFre.gf @@ -0,0 +1,34 @@ +-- (c) 2009 Ramona Enache and Aarne Ranta under LGPL
+
+concrete WordsFre of Words = SentencesFre ** open
+ SyntaxFre,
+ ParadigmsFre in
+{
+flags coding=utf8 ;
+
+lin
+
+Wine = mkCN (mkN "vin") ;
+Cheese = mkCN (mkN "fromage" masculine) ;
+Fish = mkCN (mkN "poisson" masculine) ;
+Pizza = mkCN (mkN "pizza" feminine) ;
+
+Fresh = mkAP (mkA "frais" "fraîche") ;
+Warm = mkAPA "chaud" ;
+Italian = mkAPA "italien" ;
+Expensive = mkAPA "cher" ;
+Delicious = mkAPA "délicieux" ;
+Boring = mkAPA "ennuyeux" ;
+
+ Restaurant = mkCN (mkN "restaurant") ;
+ Bar = mkCN (mkN "bar") ;
+ Toilet = mkCN (mkN "toilette") ;
+
+ Euro = mkCN (mkN "euro") ;
+ Dollar = mkCN (mkN "dollar") ;
+ Lei = mkCN (mkN "lei") ; ---- ?
+
+oper
+mkAPA : (_ : Str) -> AP = \x -> mkAP (mkA x) ;
+
+}
|
