diff options
| author | aarne <unknown> | 2004-01-09 16:48:19 +0000 |
|---|---|---|
| committer | aarne <unknown> | 2004-01-09 16:48:19 +0000 |
| commit | 5c88df10bbf6c38b00e63bf897b5561417dd10fe (patch) | |
| tree | 19ea44cb6e2d9137a754ad8786706b3913f003c8 /grammars/database/DatabaseI.gf | |
| parent | 86d811f2a6b29db64595b8ada83f8ffc33e9489f (diff) | |
Rewriting with interface to resource.
Diffstat (limited to 'grammars/database/DatabaseI.gf')
| -rw-r--r-- | grammars/database/DatabaseI.gf | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/grammars/database/DatabaseI.gf b/grammars/database/DatabaseI.gf new file mode 100644 index 000000000..5afeda711 --- /dev/null +++ b/grammars/database/DatabaseI.gf @@ -0,0 +1,43 @@ +--# -path=.:../newresource/abstract:../prelude + +incomplete concrete DatabaseI of Database = open Prelude, Resource in { + +flags lexer=text ; unlexer=text ; + +lincat + Query = Phr ; + Subject = NP ; + Category = CN ; + Property = AP ; + Comparison = AdjDeg ; + Relation = Adj2 ; + Feature = Fun ; + Value = NP ; + Name = PN ; + +lin + WhichAre A B = QuestPhrase (IntVP (NounIPMany A) (PosVG (PredAP B))) ; + IsThere A = QuestPhrase (IsThereNP (IndefOneNP A)) ; + AreThere A = QuestPhrase (IsThereNP (IndefManyNP NoNum A)) ; + WhatIs val = QuestPhrase (IntVP WhatOne (PosVG (PredNP val))) ; + IsIt Q A = QuestPhrase (QuestVP Q (PosVG (PredAP A))) ; + + MoreThan = ComparAdjP ; + TheMost = SuperlNP ; + Relatively C _ = PositAdjP C ; + + RelatedTo = ComplAdj ; + + FeatureOf f x = DefOneNP (AppFun f x) ; + ValueOf f x = DefOneNP (AppFun f (UsePN x)) ; + + WithProperty A B = ModAdj B A ; + + Individual = UsePN ; + + AllN = DetNP (AllsDet NoNum) ; + MostN = DetNP MostsDet ; + EveryN = DetNP EveryDet ; + Any = DetNP (AnysDet NoNum) ; + +} ; |
