Hmmm...

I think it should be who(woman, live)  or else who(live, woman) ... I
didn't think about the order, really, as it doesn't matter for anything
(does it?)  ....  But the current ordering seemed OK to me...

The ordering used here is analogous to the ordering for _amod; the idea is
that "who lives" is a sort of modifiers of "woman", telling you some
information about the woman....   This makes sense to me, but I realize one
could argue plausibly for the opposite ordering as well...

who(be, live) seems less good to me, because I think of "who lives" as
modifying "woman" not "be"

-- Ben

On Sun, Feb 16, 2014 at 6:15 AM, Linas Vepstas <notifications@github.com>wrote:

> In src/java_test/relex/test/TestRelEx.java:
>
> >  		rc &= ts.test_sentence ("Some people like pigs more than dogs.",
> >  			"_advmod(like, more)\n" +
> >  			"_obj(like, pig)\n" +
> >  			"_quantity(people, some)\n" +
> >  			"_subj(like, people)\n" +
> >  			"than(pig, dog)\n");
> > -
> > -		if (rc)
> > +		rc &= ts.test_sentence ("The woman who lives next door is a registered nurse.",
> > +			"_obj(be, nurse)\n" +
> > +    			"_subj(be, woman)\n" +
> > +    			"_amod(nurse, registered)\n" +
> > +    			"_advmod(live, next_door)\n" +
> > +   			"_subj(live, woman)\n" +
> > +    			"who(woman, live)\n");
>
> The order here seems to be wrong, it should be who(live,woman), right? Or
> is Ben asking for this reversed order?
>
> In fact, I'm thinking that the correct thing to generate here is who(be,
> live) since the semantic function of "who" in this sentence is to
> disambiguate the woman -- we want to know which woman it is, its the one
> who lives next door. Since the head of the main sentence is "be" and the
> head of the dependent clause is "lives", the who relation should connect
> these two heads... right?
>
> Ben, have you looked at this?
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/opencog/relex/pull/4/files#r9774702>
> .
>



-- 
Ben Goertzel, PhD
http://goertzel.org

"In an insane world, the sane man must appear to be insane". -- Capt. James
T. Kirk