JasonKessler / scattertext

Beautiful visualizations of how language differs among document types.
Apache License 2.0
2.23k stars 287 forks source link

Analysis of Corpora without Categories? #70

Open scottagt opened 3 years ago

scottagt commented 3 years ago

Hi, the library looks awesome and very useful measurements, thank ya'll very much for your work and sharing this with everyone! :) I had a question and I'm not sure if I saw the answer in the tutorials, and it's whether or not it's possible to use scattertext with a single corpus with categories? I know I could do a sentiment analysis or another type of analysis of the words but, if I'm wanting to plot just a simple word or phrase frequencies chart with scattertext, is that possible? And sorry if I'm asking a question that's already been asked or answered, I haven't had a chance to read through the issue log. Appreciate ya'll's time.

JasonKessler commented 3 years ago

Hi Scott,

Thanks for the note.

Due to some expedient but poor design choices I made at the beginning of the project, you need at two categories of text to make a visualization. I'm working on a way to gracefully undo these choices, and should have a means of analyzing single-category corpora soon.

Jason

fatihbozdag commented 1 year ago

Is there an update on this issue? Rather than two, I'd like to work on 4 categories. Is it possible?

JasonKessler commented 1 year ago

No

On Wed, Oct 19, 2022 at 5:22 PM fatihbozdag @.***> wrote:

Is there an update on this issue? Rather than two, I'd like to work on 4 categories. Is it possible?

— Reply to this email directly, view it on GitHub https://github.com/JasonKessler/scattertext/issues/70#issuecomment-1284731385, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACMMXCJILEO7V7CMFNLXHDWECGDNANCNFSM4SKF7T7Q . You are receiving this because you commented.Message ID: @.***>