Spacy SatterTextPlot Questions #95
Replies: 1 comment 4 replies
-
Except (3), the answer to all your questions is no. If you'd like, feel free to write these features into Scattertext and submit PRs. For (3), you can figure out the terms you want to remove separately, and then use corpus.remove_terms(...) functions to remove them. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am currently doing a Sentiment Analysis and Topic modelling project, where I found the ScatterText plot very useful, for visualizing my results. So I am looking to build a dashboard where I can display the graph, after the code finishes running in the backend. But I had few questions in mind.
Can we modify the size of text displayed on the graph, based on assigned scaled f-score ?
Like terms with high scaled f-score should appear larger in the plot.
Are there any parameters or options that allows us to add Slide Ranger and Zoom in option in ScatterText plot ? (Like Plotly in Python)
I want to filter out terms appearing on the graph, based on two options --- one based on term frequency and the other based on top n terms, where n is entered by the user. For the first case, I know there is an option called 'minimum_term_frequency' based on which we can filter out terms whose frequency is less than a given threshold.
But I am not sure how to do it for the second option. Like considering only the top n terms, arranged in descending order, based on their scaled f-score or frequency.
Can we save the plot in some format, other than HTML ? Maybe say in .png or .json format ? Because I am building the Dashboard using Plotly Dash library in Python. And I am finding it difficult to load HTML files using plotly. PNG or JSON format might work.
Any help is much appreciated.
Regards.
Beta Was this translation helpful? Give feedback.
All reactions