stanza icon indicating copy to clipboard operation
stanza copied to clipboard

Stanza 1.8.1 mislabels `nsubj` relationship as `compound`

Open khannan-livefront opened this issue 1 year ago • 0 comments

Describe the bug I came across a set of sentences where Stanza mistakenly labels nsubj relationships as compound. This occurs with a noun in relation to the word "hops".

To Reproduce Steps to reproduce the behavior:

  1. Go to http://stanza.run/ or input into stanza either sentence:
Zac hops, and Rod is on the box. 

The box hops and hops.
  1. See error – stanza fails to find the nsubj between "Zac hops" and "box hops":

Screenshot 2024-03-06 at 1 12 53 PM

Expected behavior The parse returns a nsubj relationship between "Zac hops" and "box hops".

Environment (please complete the following information):

  • OS: MacOS Ventura 13.4
  • Python version: Python 3.12.2 using Poetry 1.8.2
  • Stanza version: 1.6.1

Additional context This issue also appears in Stanza 1.8.1. Have not tested it with Stanza 1.7.x. Screenshot is from Stanza 1.6.1.

khannan-livefront avatar Mar 06 '24 21:03 khannan-livefront