mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-08 10:42:50 -06:00
French phrasebook
This commit is contained in:
26
examples/phrasebook/FoodFre.gf
Normal file
26
examples/phrasebook/FoodFre.gf
Normal file
@@ -0,0 +1,26 @@
|
||||
-- (c) 2009 Ramona Enache and Aarne Ranta under LGPL
|
||||
|
||||
concrete FoodFre of Food = 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" ;
|
||||
|
||||
oper
|
||||
mkAPA : (_ : Str) -> AP = \x -> mkAP (mkA x) ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user