opencog / relex

English Dependency Relationship Extractor
http://wiki.opencog.org/w/RelEx
Apache License 2.0
85 stars 68 forks source link

test cases needed for conjunctions. #57

Open linas opened 10 years ago

linas commented 10 years ago

Per bug #46 and fix #54, tests for other conjunctions are needed, especially conjunctions where the conjoined verbs are modified.

"she baked him a cake and sang him a song." (conjoined ditransitive verbs .. #54 fixed the direct object; what about the indirect object?)

"she ran quickly and quietly" (conjoined adverbs) "she ran very quickly and extremely quietly" (adverbs have modifiers)

"I hailed a black and white taxi" (conjoined adjectives) "He had very long and very white hair." (modifiers on conjoined adjectives)

"Big Tom and Angry Sue went to the movies." (Modifiers are given names - G links) "the big truck and the little car collided" (adjectival modifiers on conjoined subject) "The collision was between the little car and the big truck." (adjectival modifiers on conjoined object)

"did he walk and talk with you?" (inverted subject, and verb phrase modifier) "we ate dinner at home and went to the movies" ( verbs with modifiers) we ate a late dinner at home and went out to the movies afterwards (more modifiers)

I bet at least one of these is also broken.

linas commented 10 years ago

This is for @Rodas

linas commented 10 years ago

Try "He had very long and extremely white hair." (so that very isn't used in both places)

sebastianruder commented 10 years ago

How about "Scientists work for governments, companies, schools and research institutes."? For this, I get at the moment:

for(work, and)
_subj(work, scientist)
conj_and(,, institute)
_nn(institute, research)