mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -06:00
started Phrasebook with Finnish and Romanian
This commit is contained in:
23
examples/phrasebook/PhrasebookFin.gf
Normal file
23
examples/phrasebook/PhrasebookFin.gf
Normal file
@@ -0,0 +1,23 @@
|
||||
--# -path=.:present
|
||||
|
||||
concrete PhrasebookFin of Phrasebook =
|
||||
GreetingsFin,
|
||||
FoodFin ** open
|
||||
SyntaxFin,
|
||||
ResFin, ---- for Num to Utt
|
||||
Prelude in {
|
||||
|
||||
lincat
|
||||
Phrase = Utt ;
|
||||
|
||||
lin
|
||||
PNumeral n =
|
||||
mkPhrase (ss ((SyntaxFin.mkCard <n : Numeral>).s ! Sg ! Nom)) ; ----
|
||||
PGreeting g = mkPhrase g ;
|
||||
PSentence s = s ;
|
||||
|
||||
|
||||
oper
|
||||
mkPhrase : SS -> Utt = \s -> lin Utt s ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user