mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-24 03:52:50 -06:00
fixed some tutorial grammars and updated embedded section (JavaScript and web TODO)
This commit is contained in:
20
examples/tutorial/resource-foods/LexFoodsSwe.gf
Normal file
20
examples/tutorial/resource-foods/LexFoodsSwe.gf
Normal file
@@ -0,0 +1,20 @@
|
||||
instance LexFoodsSwe of LexFoods = open SyntaxSwe, ParadigmsSwe, IrregSwe in {
|
||||
oper
|
||||
wine_N = mkN "vin" "vinet" "viner" "vinerna" ;
|
||||
pizza_N = mkN "pizza" ;
|
||||
cheese_N = mkN "ost" ;
|
||||
fish_N = mkN "fisk" ;
|
||||
fresh_A = mkA "färsk" ;
|
||||
warm_A = mkA "varm" ;
|
||||
italian_A = mkA "italiensk" ;
|
||||
expensive_A = mkA "dyr" ;
|
||||
delicious_A = mkA "läcker" "läckert" "läckra" "läckrare" "läckrast" ;
|
||||
boring_A = mkA "tråkig" ;
|
||||
|
||||
eat_V2 = mkV2 (mkV "äta" "åt" "ätit") ;
|
||||
drink_V2 = mkV2 (mkV "dricka" "drack" "druckit") ;
|
||||
pay_V2 = mkV2 "betala" ;
|
||||
lady_N = mkN "dam" "damer" ;
|
||||
gentleman_N = mkN "herr" ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user