opencog / link-grammar

The CMU Link Grammar natural language parser
GNU Lesser General Public License v2.1
390 stars 118 forks source link

There is a bug here regarding the link to `LEFT-WALL`: #1174

Open linas opened 3 years ago

linas commented 3 years ago

There is a bug here regarding the link to LEFT-WALL:

          test.v: [71186]0.000= @E- Qa- dWV- B*d- <> VC+ VC+
<verb-pl,i>:
    <verb-ico>: @E- &
        <verb-why>: Qa- &
            <verb-wall>: dWV- & VC+
   &
<vc-predict>:
    <vc-trans>:
        <b-minus>: B*d-
           &
        <mv-coord>: VC+

dWV- should have been a shallow connector. Here B*d- tries to connect to words before LEFT-WALL.

Originally posted by @ampli in https://github.com/opencog/link-grammar/issues/1072#issuecomment-789393624

linas commented 3 years ago

This is wide-spread, and not easy to fix. The B connector is the primary source of these kinds of problems, I believe.