mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-21 09:02:50 -06:00
French phrasebook
This commit is contained in:
23
examples/phrasebook/PhrasebookFre.gf
Normal file
23
examples/phrasebook/PhrasebookFre.gf
Normal file
@@ -0,0 +1,23 @@
|
||||
--# -path=.:present
|
||||
|
||||
concrete PhrasebookFre of Phrasebook =
|
||||
GreetingsFre,
|
||||
FoodFre
|
||||
** open
|
||||
SyntaxFre,
|
||||
ParadigmsFre,
|
||||
ResFre, ---- for Num to Utt
|
||||
Prelude in {
|
||||
|
||||
lincat
|
||||
Phrase = Utt ;
|
||||
|
||||
lin
|
||||
PNumeral n = mkPhrase (ss ((mkCard <n : Numeral>).s ! masculine)) ; ----
|
||||
PGreeting g = mkPhrase g ;
|
||||
PSentence s = s ;
|
||||
|
||||
oper
|
||||
mkPhrase : SS -> Utt = \s -> lin Utt s ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user