forked from GitHub/gf-core
genitive variant of PossNP in TranslateSwe; overgenerating just like in Eng, because it generates a CN and can hence take determiners
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
concrete TranslateSwe of Translate =
|
concrete TranslateSwe of Translate =
|
||||||
TenseSwe,
|
TenseSwe,
|
||||||
NounSwe - [PPartNP],
|
NounSwe - [PPartNP,PossNP],
|
||||||
AdjectiveSwe,
|
AdjectiveSwe,
|
||||||
NumeralSwe,
|
NumeralSwe,
|
||||||
SymbolSwe [
|
SymbolSwe [
|
||||||
@@ -31,9 +31,18 @@ concrete TranslateSwe of Translate =
|
|||||||
],
|
],
|
||||||
|
|
||||||
DictionarySwe **
|
DictionarySwe **
|
||||||
open MorphoSwe, ResSwe, ParadigmsSwe, SyntaxSwe, CommonScand, (E = ExtraSwe), Prelude in {
|
open MorphoSwe, ResSwe, ParadigmsSwe, SyntaxSwe, CommonScand, (E = ExtraSwe), (G = GrammarSwe), Prelude in {
|
||||||
|
|
||||||
flags
|
flags
|
||||||
literal=Symb ;
|
literal=Symb ;
|
||||||
|
|
||||||
|
-- exceptions
|
||||||
|
|
||||||
|
lin
|
||||||
|
PossNP cn np = -- min frus stora bil
|
||||||
|
G.PossNP cn np
|
||||||
|
| {s = \\n,d,c => np.s ! NPPoss (gennum (ngen2gen cn.g) n) Nom ++ cn.s ! n ! DDef Indef ! c ; g = cn.g ; isMod = True} ---- overgenerating
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user