1
0
forked from GitHub/gf-rgl

Removed SlashV2VNP

This commit is contained in:
Roman Suzi
2020-08-11 23:16:37 +03:00
parent bcadbaaf32
commit bf4b4b2d22
4 changed files with 68 additions and 1 deletions

View File

@@ -135,6 +135,8 @@ lin
dep=(verbInf vps.verb) ++ vps.dep ;
adv=\\a=>vv.modal ! a ++ vps.adv ! a
} ;
{- This is very heavy, but can be replaced (see todo.txt)
-- : V2V -> NP -> VPSlash -> VPSlash ; -- beg me to buy
SlashV2VNP v2v np vps = vps ** {
verb=v2v ;
@@ -142,6 +144,8 @@ lin
dep=(verbInf vps.verb) ++ vps.dep ;
c=v2v.c
} ;
-}
SlashV2VNP = variants {} ;
-- : VPSlash -> VP ; -- love himself
ReflVP vps = vps ** {

View File

@@ -1099,7 +1099,7 @@ AllRus: для чего Иван играет
AllRusAbs: UseQCl (TTAnt TPres ASimul) PPos (QuestSlash whatSg_IP (SlashVP (UsePN john_PN) (VPSlashPrep (UseV rain_V0) for_Prep)))
AllRus: для чего Иван дождит
AllRusAbs: UseQCl (TTAnt TPres ASimul) PPos (QuestSlash whatSg_IP (SlashVP (UsePN john_PN) (VPSlashPrep (UseV run_V) for_Prep)))
AllRus: для чего Иван бежит
AllRus: для чего Иван бегает
AllRusAbs: UseQCl (TTAnt TPres ASimul) PPos (QuestSlash whatSg_IP (SlashVP (UsePN john_PN) (VPSlashPrep (UseV sew_V) for_Prep)))
AllRus: для чего Иван шьёт
AllRusAbs: UseQCl (TTAnt TPres ASimul) PPos (QuestSlash whatSg_IP (SlashVP (UsePN john_PN) (VPSlashPrep (UseV sing_V) for_Prep)))
@@ -3429,6 +3429,40 @@ AllRus: когда не бы &+ ло яблока
AllRusAbs: UseQCl (TTAnt TPres ASimul) PNeg (QuestIAdv when_IAdv (ImpersCl (AdvVP UseCopula (PrepNP part_Prep (MassNP (UseN apple_N))))))
AllRus: когда не является яблока
AllRusAbs: UseCl (TTAnt TPres ASimul) PPos (GenericCl (ComplSlash (SlashV2a write_V2) (DetCN (DetQuant DefArt (NumCard (NumDigits (IDig D_1)))) (UseN woman_N))))
AllRus: пишешь 1 женщину
AllRusAbs: UseCl (TTAnt TPres ASimul) PPos (GenericCl (ComplSlash (SlashV2a write_V2) (DetCN (DetQuant DefArt (NumCard (NumDigits (IDig D_2)))) (UseN woman_N))))
AllRus: пишешь 2 женщин
AllRusAbs: UseCl (TTAnt TPres ASimul) PPos (GenericCl (ComplSlash (SlashV2a write_V2) (DetCN (DetQuant DefArt (NumCard (NumDigits (IDig D_5)))) (UseN woman_N))))
AllRus: пишешь 5 женщин
AllRusAbs: UseCl (TTAnt TPres ASimul) PPos (GenericCl (ComplSlash (SlashV2a write_V2) (DetCN (DetQuant (PossPron youSg_Pron) NumSg) (UseN woman_N))))
AllRus: пишешь твою женщину
AllRusAbs: UseCl (TTAnt TPres ASimul) PPos (GenericCl (UseComp (CompNP (DetNP (DetQuant this_Quant (NumCard (NumNumeral (num (pot3 (pot2plus pot01 (pot0as1 (pot0 n2))))))))))))
AllRus: являешься этими ста двумя тысячами
AllRusAbs: UseCl (TTAnt TPres ASimul) PPos (GenericCl (UseComp (CompNP (DetNP (DetQuant this_Quant (NumCard (NumNumeral (num (pot3 (pot2 (pot0 n2)))))))))))
AllRus: являешься этими двумястами тысячами
AllRusAbs: UseCl (TTAnt TPres ASimul) PPos (GenericCl (UseComp (CompNP (DetNP (DetQuant this_Quant (NumCard (NumNumeral (num (pot3 (pot2 (pot0 n3)))))))))))
AllRus: являешься этими тремястами тысячами
AllRusAbs: UseCl (TTAnt TPres ASimul) PPos (GenericCl (UseComp (CompNP (DetNP (DetQuant this_Quant (NumCard (NumNumeral (num (pot3 (pot2 (pot0 n4)))))))))))
AllRus: являешься этими четырьмястами тысячами
AllRusAbs: UseCl (TTAnt TPres ASimul) PPos (GenericCl (UseComp (CompNP (DetNP (DetQuant this_Quant (NumCard (NumNumeral (num (pot3 (pot2 (pot0 n5)))))))))))
AllRus: являешься этими пятьюстами тысячами
AllRusAbs: UseCl (TTAnt TPres ASimul) PPos (GenericCl (UseComp (CompNP (DetNP (DetQuant this_Quant (NumCard (NumNumeral (num (pot3 (pot2 (pot0 n6)))))))))))
AllRus: являешься этими шестьюстами тысячами
AllRusAbs: UseCl (TTAnt TPres ASimul) PPos (GenericCl (UseComp (CompNP (DetNP (DetQuant this_Quant (NumCard (NumNumeral (num (pot3 (pot2 (pot0 n7)))))))))))
AllRus: являешься этими семьюстами тысячами
AllRusAbs: UseCl (TTAnt TPres ASimul) PPos (GenericCl (UseComp (CompNP (DetNP (DetQuant this_Quant (NumCard (NumNumeral (num (pot3 (pot2 (pot0 n8)))))))))))
AllRus: являешься этими восемьюстами тысячами
AllRusAbs: UseCl (TTAnt TPres ASimul) PPos (GenericCl (UseComp (CompNP (DetNP (DetQuant this_Quant (NumCard (NumNumeral (num (pot3 (pot2 (pot0 n9)))))))))))
AllRus: являешься этими девятьюстами тысячами
AllRusAbs: UseCl (TTAnt TPres ASimul) PPos (GenericCl (UseComp (CompNP (DetNP (DetQuant this_Quant (NumCard (NumNumeral (num (pot3 (pot2 pot01))))))))))
AllRus: являешься этими ста тысячами
AllRusAbs: ImpVP UseCopula
AllRus: будь
@@ -3558,6 +3592,12 @@ AllRus: нет у вас воды
AllRusAbs: ComparAdvAdj less_CAdv narrow_A everything_NP
AllRus: менее узко , чем всё
AllRusAbs: UseCl (TTAnt TPres ASimul) PNeg (PredVP (UsePron i_Pron) (ComplSlash (SlashV2V beg_V2V (ComplSlash (SlashV2a like_V2) (UsePron he_Pron))) (UsePron weFem_Pron)))
AllRus: я не прошу нравиться ему нас
AllRusAbs: UseCl (TTAnt TPres ASimul) PPos (PredVP (UsePron i_Pron) (ComplSlash (SlashV2V beg_V2V (ComplSlash (SlashV2a like_V2) (UsePron he_Pron))) (UsePron weFem_Pron)))
AllRus: я прошу нравиться ему нас
AllRusAbs: UseCl (TTAnt TCond AAnter) PPos (ExistNPAdv (MassNP (UseN house_N)) (ComparAdvAdj less_CAdv narrow_A everything_NP))
AllRus: дом менее узко , чем всё , существовал бы
AllRusAbs: UseCl (TTAnt TCond ASimul) PPos (ExistNPAdv (MassNP (UseN house_N)) (ComparAdvAdj less_CAdv narrow_A everything_NP))

View File

@@ -162,6 +162,10 @@ gt UseCl ? PPos (ImpersCl (ComplSlash (Slash3V3 have_not_V3 (UsePron youPl_Pron
gt ComparAdvAdj less_CAdv narrow_A everything_NP | l -treebank
-- can SlashV2VNP support be removed?
gt UseCl (TTAnt TPres ASimul) ? (PredVP (UsePron i_Pron) (ComplSlash (SlashV2VNP beg_V2V (UsePron we_Pron) (SlashV2a like_V2)) (UsePron he_Pron)) ) |l -treebank
gt UseCl (TTAnt TPres ASimul) ? (PredVP (UsePron i_Pron) (ComplSlash (SlashV2V beg_V2V (ComplSlash (SlashV2a like_V2) (UsePron he_Pron))) (UsePron weFem_Pron))) | l -treebank
-- from extend
gt UseCl ? PPos (ExistNPAdv (MassNP (UseN house_N)) (ComparAdvAdj less_CAdv narrow_A everything_NP) ) | l -treebank

View File

@@ -1,5 +1,16 @@
# Some problematic situations
## Missing SlashV2VNP
It is heavy, and does not seem to be necessary, for example:
(ComplSlash (SlashV2VNP beg_V2V (UsePron we_Pron) (SlashV2a like_V2)) (UsePron he_Pron))
can be replaced with:
(ComplSlash (SlashV2V beg_V2V (ComplSlash (SlashV2a like_V2) (UsePron he_Pron))) (UsePron weFem_Pron))
## Possessive pronouns over a list/conjunction of CNs
With what should be correct approach, produces:
@@ -121,3 +132,11 @@ should be: стотысячное
+ Slash2V3 1492992 (107136,31)
+ Slash3V3 1492992 (107136,31)
+ SlashV2VNP 71663616 (214272,62)
## Some natural constucts missing
> p "я прошу нас нравиться ему"
The sentence is not complete
> p -cat=S "я просил его делать машины"
The sentence is not complete