mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 11:42:49 -06:00
a big patch which renames a few functions in the Bulgarian morphology. The old names are deprecated
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -53,8 +53,8 @@ oper
|
|||||||
phrasalV : V -> Case -> V ;
|
phrasalV : V -> Case -> V ;
|
||||||
phrasalV v c = {s = v.s; vtype = VPhrasal c; lock_V=<>} ;
|
phrasalV v c = {s = v.s; vtype = VPhrasal c; lock_V=<>} ;
|
||||||
|
|
||||||
actionV : VTable -> VTable -> V ;
|
dualV : VTable -> VTable -> V ;
|
||||||
actionV imperf perf = {
|
dualV imperf perf = {
|
||||||
s = table {Imperf=>imperf; Perf=>perf};
|
s = table {Imperf=>imperf; Perf=>perf};
|
||||||
n = let v0 = init (imperf ! (VImperfect Sg P1)) + "í"
|
n = let v0 = init (imperf ! (VImperfect Sg P1)) + "í"
|
||||||
in (mkNoun (v0+"å")
|
in (mkNoun (v0+"å")
|
||||||
@@ -66,8 +66,10 @@ oper
|
|||||||
lock_V=<>
|
lock_V=<>
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
stateV : VTable -> V ;
|
actionV : VTable -> VTable -> V = dualV ;
|
||||||
stateV vtable = {
|
|
||||||
|
singleV : VTable -> V ;
|
||||||
|
singleV vtable = {
|
||||||
s = \\_=>vtable;
|
s = \\_=>vtable;
|
||||||
n = let v0 = init (vtable ! (VImperfect Sg P1)) + "í"
|
n = let v0 = init (vtable ! (VImperfect Sg P1)) + "í"
|
||||||
in (mkNoun (v0+"å")
|
in (mkNoun (v0+"å")
|
||||||
@@ -79,6 +81,8 @@ oper
|
|||||||
lock_V=<>
|
lock_V=<>
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
stateV : VTable -> V = singleV ;
|
||||||
|
|
||||||
--3 Zero-place verbs
|
--3 Zero-place verbs
|
||||||
--
|
--
|
||||||
|
|
||||||
@@ -192,13 +196,15 @@ oper
|
|||||||
} ;
|
} ;
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
relativeN : N -> A -> N;
|
dualN : N -> A -> N;
|
||||||
relativeN n a = lin N {
|
dualN n a = lin N {
|
||||||
s = n.s;
|
s = n.s;
|
||||||
rel = a.s;
|
rel = a.s;
|
||||||
g = n.g
|
g = n.g
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
relativeN : N -> A -> N = dualN ; -- deprecated
|
||||||
|
|
||||||
substantiveN : A -> AGender -> N;
|
substantiveN : A -> AGender -> N;
|
||||||
substantiveN a g = lin N {
|
substantiveN a g = lin N {
|
||||||
s = \\nform => a.s ! nform2aform nform g;
|
s = \\nform => a.s ! nform2aform nform g;
|
||||||
|
|||||||
Reference in New Issue
Block a user