EducationalTestingService / rstfinder

Fast Discourse Parser to find latent Rhetorical STructure (RST) in text.
MIT License
121 stars 24 forks source link

Unbalanced-tuple-unpacking in the from_constituency_trees #74

Closed damien2012eng closed 2 years ago

damien2012eng commented 2 years ago

If the input tree list is empty, the function from_constituency_trees returns two elements. In the regular scenario, the function return three elements. Here

damien2012eng commented 2 years ago

Unit test needs to be modified as well.