1
0
forked from GitHub/gf-core
Files
gf-core/examples/phrasebook/SentencesSwe.gf

15 lines
502 B
Plaintext

concrete SentencesSwe of Sentences = NumeralSwe ** SentencesI - [
PYesToNo, NameNN,
DrinkNumber -- should be utrum gender when countable
] with
(Syntax = SyntaxSwe),
(Symbolic = SymbolicSwe),
(Lexicon = LexiconSwe) ** open Prelude, SyntaxSwe, (P = ParadigmsSwe) in {
lin
PYesToNo = mkPhrase (lin Utt (ss "jo")) ;
NameNN = mkNP (P.mkPN "NN") ;
DrinkNumber n d = mkNP n (mkCN (P.mkN [] [] [] [] P.utrum) (lin Adv (mkUtt d))) ; --- empty classifier - quite a hack...
}