1
0
forked from GitHub/gf-core

Fin.VPSlashPrep is cyclic in the presence of empty-strinc prepositions. Therefore omitted it from ParseFin.

This commit is contained in:
aarne
2013-12-10 15:17:35 +00:00
parent 81d37de270
commit 52a6c03605
7 changed files with 14 additions and 11 deletions

View File

@@ -8,7 +8,8 @@ concrete ParseFin of ParseEngAbs =
NumeralFin,
SymbolFin [PN, Symb, String, CN, Card, NP, MkSymb, SymbPN, CNNumNP],
ConjunctionFin,
VerbFin - [SlashV2V, PassV2, UseCopula, ComplVV],
VerbFin - [SlashV2V, PassV2, UseCopula, ComplVV,
VPSlashPrep], -- with empty prepositions, a cyclic rule that leads to overgeneration
AdverbFin,
PhraseFin,
SentenceFin,

View File

@@ -665,9 +665,9 @@ oper
vptyp = vp.vptyp --- missään
} ;
passVP : VP -> NPForm -> VP = \vp,sc -> {
s = {s = vp.s.s ; h = vp.s.h ; p = vp.s.p ; sc = sc} ; -- minusta pidetään ---- TODO minun päälleni katsotaan
s2 = vp.s2 ;
passVP : VP -> Compl -> VP = \vp,pr -> {
s = {s = vp.s.s ; h = vp.s.h ; p = vp.s.p ; sc = pr.c} ; -- minusta pidetään ---- TODO minun katsotaan päälle
s2 = \\b,p,a => pr.s ++ vp.s2 ! b ! p ! a ; ---- prep after verb
ext = vp.ext ;
adv = vp.adv ;
vptyp = {isNeg = vp.vptyp.isNeg ; isPass = True} ;