navigating-stories / orange-story-navigator

Add-on to the Orange3 data mining toolkit with text processing widgets from the project Navigating Stories
https://research-software-directory.org/projects/navigating-stories
Other
2 stars 2 forks source link

Custom tags highlighting not updating #34

Closed kodymoodley closed 4 months ago

kodymoodley commented 5 months ago
Expected behavior

After changing / switching out a custom tags dictionary input, the actor widget should update the highlighting of the custom tags to reflect the new dictionary categories and words.

Actual behavior

After changing / switching out a custom tags dictionary input, the actor widget does not update the custom tags highlighting to reflect the new dictionary. It still highlights the old custom tags.

Steps to reproduce the behavior
  1. Import stories using import documents widget
  2. Import custom tags dictionary using CSV import widget under Data/ addon in Orange.
  3. Connect the outputs of the above two widgets to a tagger widget
  4. Double-click on Tagger widget to set options. Set options and click on the "Extract story elements!" button
  5. Connect the output of Import documents to an Actor widget instance
  6. Connect the output of the Tagger widget to the Actor widget instance
  7. Double-click on the Actor widget to see which custom tags were highlighted and make a note of those
  8. Double-click on the CSV import widget and select a different custom tags dictionary to what was loaded before
  9. Double-click on Tagger widget and click again on the 'Extract story elements!' button.
  10. Double-click on the Actor widget again to see if the highlighted custom tags have been updated
Additional info (worksheets, data, screenshots, ...)
kodymoodley commented 4 months ago

fixed by #36