blob: 5f1f995e45daeedd58bd7ee9e7aefc59ad5799a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
-- use this path to read the grammar from the same directory
--# -path=.:../abstract:../../prelude:../french:../romance
--1 Functions that are not in the API, but common in Russian
--
-- Aarne Ranta, Janna Khegai 2003
resource ExtraFre = open PredicationFre, ResourceFre, Prelude, SyntaxFre, MorphoFre in {
oper
avoirBesoin: CN -> VP = \medicine ->
PosVG ( PredTV tvAvoir (DetNP nullDet (
AppFun (funDe (mkCNomReg "besoin" Masc) ** {lock_Fun =<>} )
(IndefOneNP medicine)
)
)
) **{lock_VP =<>} ;
injuredBody: (Gender => Number => Str) -> NP -> CN -> S =
\injured, patient, head ->
PredVP patient
{s = \\g,v => pronRefl patient.n patient.p ++
verbEtre.s ! v ++
injured ! g ! patient.n ++
(DefOneNP head).s ! case2pform Acc;
lock_VP = <>
} ;
delDet : Det = mkDeterminer Sg (artDef Masc Sg genitive)
(artDef Fem Sg genitive) ** {lock_Det = <>} ;
nullDet : Det = mkDeterminer1 Sg "" ** {lock_Det =<>} ;
tvAvoir = mkTransVerbDir (verbPres (conj3savoir ""))** {lock_TV = <> };
};
|