reflected preposition stranding default in TranslateSwe by adding pied piping as second variant

This commit is contained in:
aarne
2016-06-05 11:16:54 +00:00
parent 7a3f33a5fc
commit 2320410d30
2 changed files with 11 additions and 4 deletions

View File

@@ -31,11 +31,11 @@ concrete TranslateEng of Translate =
QuestionEng - [ QuestionEng - [
QuestVP -- replaced by QuestVP | contracted QuestVP QuestVP -- replaced by QuestVP | contracted QuestVP
,QuestIComp ,QuestIComp
,QuestSlash -- replaced by QuestSlash | StrandQuestSlash ,QuestSlash -- replaced by QuestSlash | PiedPipingQuestSlash
], ],
RelativeEng - [ RelativeEng - [
IdRP -- with variants that/who/which/- IdRP -- with variants that/who/which/-
,RelSlash -- replaced by RelSlash | StrandRelSlash ,RelSlash -- replaced by RelSlash | PiedPipingRelSlash
], ],
IdiomEng, IdiomEng,
ConstructionEng, ConstructionEng,

View File

@@ -16,8 +16,12 @@ concrete TranslateSwe of Translate =
AdverbSwe, AdverbSwe,
PhraseSwe, PhraseSwe,
SentenceSwe, SentenceSwe,
QuestionSwe, QuestionSwe - [
RelativeSwe, QuestSlash -- replaced by QuestSlash | PiedPipingQuestSlash
],
RelativeSwe - [
RelSlash -- replaced by RelSlash | PiedPipingRelSlash
],
IdiomSwe, IdiomSwe,
ConstructionSwe, ConstructionSwe,
DocumentationSwe, DocumentationSwe,
@@ -45,5 +49,8 @@ lin
| {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 | {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
; ;
RelSlash rp cls = G.RelSlash rp cls | E.PiedPipingRelSlash rp cls ;
QuestSlash ip cls = G.QuestSlash ip cls | E.PiedPipingQuestSlash ip cls ;
} }