diff options
| author | janna <unknown> | 2004-02-02 22:37:51 +0000 |
|---|---|---|
| committer | janna <unknown> | 2004-02-02 22:37:51 +0000 |
| commit | 2b8d7943093ff8c103fd439fc07cebb3c8e8cd32 (patch) | |
| tree | 90083eed1e0f93bced82af4c4df095cc67392266 /grammars/health/HealthResourceIta.gf | |
| parent | eb13f30e6166ddf231682df55ec40836a872dbb7 (diff) | |
*** empty log message ***
Diffstat (limited to 'grammars/health/HealthResourceIta.gf')
| -rw-r--r-- | grammars/health/HealthResourceIta.gf | 51 |
1 files changed, 26 insertions, 25 deletions
diff --git a/grammars/health/HealthResourceIta.gf b/grammars/health/HealthResourceIta.gf index 25003dcf7..b125aac4d 100644 --- a/grammars/health/HealthResourceIta.gf +++ b/grammars/health/HealthResourceIta.gf @@ -1,11 +1,21 @@ -- use this path to read the grammar from the same directory
--# -path=.:../newresource/abstract:../prelude:../newresource/italian:../newresource/romance
-concrete HealthIta of Health = open ResourceIta, Prelude, SyntaxIta, ExtraIta, MorphoIta in {
+concrete HealthIta of Health = open ResourceIta, Prelude, SyntaxIta, ExtraIta, MorphoIta, ParadigmsIta, ResourceExtIta, PredicationIta in {
flags
startcat=Phr ; lexer=text ; parser=chart ; unlexer=text ;
-
+lincat
+ Patient = NP ;
+ BodyPart = CN ;
+ Symptom = NP ;
+ SymptomDegree = AP ;
+ Prop = S ;
+ Illness = CN ;
+ Condition = VP ;
+ Specialization = CN ;
+ Medicine = CN ;
+
lin
ShePatient = SheNP ;
TheyPatient = TheyNP ;
@@ -17,31 +27,14 @@ lin illness) ;
BeInCondition = PredVP ;
-
- CatchCold =
- PosTV (tvDir vAvere) (IndefOneNP (mkCN (nSale "raffreddore"
-masculine))) ;
-
+ CatchCold = PosTV (tvDir vAvere) (IndefOneNP (mkCN (nSale "raffreddore" masculine))) ;
Pregnant = PosA (apSolo "gravido" postpos) ;
-
Complain = predV2 (tvDir vAvere) ;
- PainInMod pat loc deg =
- PredVP pat
- (AdvVP (PosTV (tvDir vAvere)
- (IndefOneNP (ModAdj deg (mkCN (nSale "dolore"
-masculine)))))
- (datAdv (DefOneNP loc))) ;
-
- FeverMod deg = partitNP (ModAdj deg (mkCN (nSale "febbre" feminine)));
-
PainIn pat loc =
PredVP pat (AdvVP (PosV (averCosa "male")) (datAdv (DefOneNP loc))) ;
- Fever = partitNP (mkCNomReg (nSale "febbre" feminine)) ;
-
- High = apSolo "alto" postpos ;
- Terrible = apTale "terribile" postpos ;
+ Fever = partitNP (mkCN (nSale "febbre" feminine)) ;
Head = mkCN (nRana "testa") ;
Leg = mkCN (nRana "gamba") ;
@@ -49,14 +42,22 @@ masculine))))) PainKiller = mkCN (nSale "calmante" masculine) ;
NeedDoctor pat doc = PredVP pat (averBisogno doc) ;
NeedMedicine pat med = PredVP pat (averBisogno med) ;
- TakeMedicine pat med = predV2 (tvDir (vCorrere "prendere")) pat
-(IndefOneNP med) ;
+ TakeMedicine pat med = predV2 (tvDir (vCorrere "prendere" "")) pat (IndefOneNP med) ;
- Injured = injuredBody (mkAdjective (adjSolo "ferito") True) ;
- Broken = injuredBody (mkAdjective (adjSolo "rotto") True) ;
+ Injured = injuredBody (apSolo "ferito" prepos) ;
+ Broken = injuredBody (apSolo "rotto" prepos) ;
And = conjS ;
+-- FeverMod deg = partitNP (ModAdj deg (mkCN (nSale "febbre" feminine)));
+-- High = apSolo "alto" postpos ;
+-- Terrible = apTale "terribile" postpos ;
+-- PainInMod pat loc deg =
+-- PredVP pat
+-- (AdvVP (PosTV (tvDir vAvere)
+-- (IndefOneNP (ModAdj deg (mkCN (nSale "dolore" masculine)))))
+-- (datAdv (DefOneNP loc))) ;
+
};
|
