Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Word Cloud bug after topic modelling #586

Closed
rhythmsniper opened this issue Oct 12, 2020 · 1 comment
Closed

Word Cloud bug after topic modelling #586

rhythmsniper opened this issue Oct 12, 2020 · 1 comment

Comments

@rhythmsniper
Copy link

Text version

1.1.0

Orange version

3.26

Expected behavior

A word cloud widget after a topic modelling widget should produce a word cloud of words in in the topic model and is reflective of preprocessed text which was inputed into the topic model widget.

Actual behavior

The word cloud produced includes all characters and words regardless of previous pre-processing.

Steps to reproduce the behavior

See workflow for example. I loaded a CSV file consisting of the text of tweets (one document per row). I attached text pre-processing and added several customizations, including my own stopwords file and regexps. I then attached topic modelling, ran a 15 topic LDA. I then attached the word cloud widget to the topic modelling widget. The word cloud showed all text as if not processed at all.

Additional info (worksheets, data, screenshots, ...)

image

@djukicn
Copy link
Collaborator

djukicn commented Nov 16, 2020

In order to get the expected behavior you have to double click on the connection between Topic Modelling and Word Cloud (1) and connect Selected Topic on the left with the Topic on the right. The Word Cloud should work only on the topic of your choice now. I think this should solve both problems you are reporting. Does it?

P.S. The problem that's causing the Corpus to lose the preprocessing after topic modelling is solved in #599.

@djukicn djukicn closed this as completed Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants