own-pt / rte-sick

RTE Experiment
1 stars 3 forks source link

rewriting rule 8: negation #50

Open vcvpaiva opened 7 years ago

vcvpaiva commented 7 years ago

According to stats (https://github.com/own-pt/rte-sick/blob/master/expanded/conllu/all.conllu.stats.xml) we have 436 neg relations. They do not cover all the negations, e.g. No person is hiking should be negation and has no trace.

1 No no DET DT 2 det DT|?|? 2 person person NOUN NN 4 nsubj NN|00007846-n|Human= 3 is be VERB VBZ 4 aux VBZ|02604760-v|Entity+ 4 hiking hike VERB VBG 0 ROOT VBG|01920932-v|Walking+

in this case the rep gives us the opposite meaning of the sentence. Bad.

How many sentences in this situation? it would 565 if the Turku query L=no was good enough. But of course there are restricted negations like

1 A a DET DT 2 det DT|?|? 2 man man NOUN NN 7 nsubj NN|10287213-n|Man= 3 with with ADP IN 2 prep IN|?|? 4 no no DET DT 5 det DT|?|? 5 shirt shirt NOUN NN 3 pobj NN|04197391-n|Shirt= 6 is be VERB VBZ 7 aux VBZ|02604760-v|Entity+ 7 jumping jump VERB VBG 0 ROOT VBG|01963942-v|Ambulating= 8 over over ADP IN 7 prep RP|00226550-r|SubjectiveAssessmentAttribute+ 9 a a DET DT 10 det DT|?|? 10 log log NOUN NN 8 pobj NN|06812631-n|LogFn=

Are there automatic ways of knowing which ones are clausal negation versus restricted negation in this corpus?

vcvpaiva commented 7 years ago

query <neg NOUN only 7 cases. query <neg !VERB 8 cases query _<neg VERB = 413 cases?

vcvpaiva commented 7 years ago

part of the issue here is that negation should introduce a context, of the preposition that is negated.