diff options
| author | aarne <unknown> | 2003-09-22 13:16:55 +0000 |
|---|---|---|
| committer | aarne <unknown> | 2003-09-22 13:16:55 +0000 |
| commit | b1402e8bd6a68a891b00a214d6cf184d66defe19 (patch) | |
| tree | 90372ac4e53dce91cf949dbf8e93be06f1d9e8bd /grammars/resource/german/DatabaseDeu.gf | |
Founding the newly structured GF2.0 cvs archive.
Diffstat (limited to 'grammars/resource/german/DatabaseDeu.gf')
| -rw-r--r-- | grammars/resource/german/DatabaseDeu.gf | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/grammars/resource/german/DatabaseDeu.gf b/grammars/resource/german/DatabaseDeu.gf new file mode 100644 index 000000000..a7a8f278e --- /dev/null +++ b/grammars/resource/german/DatabaseDeu.gf @@ -0,0 +1,52 @@ +concrete DatabaseDeu of Database = + open Prelude,Syntax,Deutsch,Predication,Paradigms,DatabaseRes in { + +flags lexer=text ; unlexer=text ; + +lincat + Phras = SS1 Bool ; -- long or short form + Subject = NP ; + Noun = CN ; + Property = AP ; + Comparison = AdjDeg ; + Relation = Adj2 ; + Feature = Fun ; + Value = NP ; + Name = ProperName ; + +lin + LongForm sent = ss (sent.s ! True ++ "?") ; + ShortForm sent = ss (sent.s ! False ++ "?") ; + + WhichAre A B = mkSent (defaultQuestion (IntVP (NounIPMany A) (PosA B))) + (defaultNounPhrase (IndefManyNP (ModAdj B A))) ; + + IsIt Q A = mkSentSame (defaultQuestion (QuestVP Q (PosA A))) ; + + MoreThan = ComparAdjP ; + TheMost = SuperlNP ; + Relatively C _ = PositAdjP C ; + + RelatedTo = ComplAdj ; + + FeatureOf = appFun1 ; + ValueOf F V = appFun1 F (UsePN V) ; + + WithProperty A B = ModAdj B A ; + + Individual = nameNounPhrase ; + + AllN = DetNP AllDet ; + MostN = DetNP MostDet ; + EveryN = DetNP EveryDet ; + +-- only these are language-dependent + + Any = detNounPhrase einDet ; + + IsThere A = mkSentPrel ["gibt es"] (defaultNounPhrase (IndefOneNP A)) ; + AreThere A = mkSentPrel ["gibt es"] (defaultNounPhrase (IndefManyNP A)) ; + + WhatIs V = mkSentPrel ["was ist"] (defaultNounPhrase V) ; + +} ; |
