Questions tagged [word-cloud]

0

votes
0

answer
5

Views

How to handle big textual data to create WordCloud?

I have a huge textual data that I need to create its word cloud. I am using a Python library named word_cloud in order to create the word cloud which is quite configurable. The problem is that my textual data is really huge, so a high-end computer is not able to complete the task even for long hours...
talha06
0

votes
0

answer
7

Views

Python wordcloud can't present Hebrew

I am trying to create wordcloud to a text in Hebrew. The text is: את הסיפור שלנו סיפרנו לעצמנו כל הזמן. בכפייתיות. בעל פה. לפעמים התעייפנו עוד לפני שהתחלנו ובכל זאת סיפרנו במשך שעות. הקשבנו רוב קש...
okuoub
1

votes
0

answer
311

Views

Lots of empty whitespace in textplot_wordcloud / comparison.cloud

I have a shiny app that plots a wordcloud of terms and trying to get it to fit with labels inside the app is difficult. If I expand the screen everything fits but if I don't labels get cut off and it's because of all that extra whitespace that is forcing the labels so far away. Is there a way to rem...
Ted Mosby
1

votes
0

answer
89

Views

R: Producing word cloud using Spanish text

Here is my code. I need to text mine this into a word cloud. Is there a way to get this code with the Spanish letters and symbols and such or is there a way after I am all finished to have the word cloud include it. > textsp=readLines('Reflection- Spanish .txt',encoding = 'latin-1') > textsp [1] 'P...
Sarah Baisley
1

votes
0

answer
334

Views

Word Cloud Arabic

I had some problem with WordCloud code in python when try to run Arabic huge data this my code: from os import path import codecs from wordcloud import WordCloud import arabic_reshaper from bidi.algorithm import get_display d = path.dirname(__file__) f = codecs.open(path.join(d, 'C:/example.txt'), '...
Abdulrahman
1

votes
0

answer
109

Views

word(s) frequency scatterplot or comparing word clouds in R

I have individual level causes of death data (from the 19th century) and want to compare the frequencies between males and females, either using scatterplots or comparing word clouds. I have manage to do this by using the following command (exemplified for comparing Word clouds): all=c(female,male)...
Sommerseth
1

votes
1

answer
285

Views

“DLL load failed: The specified module could not be found” error on using wordcloud in Jupyter notebook

I installed the word cloud library in python to use wordcloud. I am able to successfully use it in all editors like sublime, etc but when I am trying to use it in Jupyter notebook then it is giving me error: DLL load failed: The specified module could not be found I have been trying to solve this is...
bisht
1

votes
0

answer
29

Views

How to create an image collage similar to a word cloud, with image scaled according to frequency?

after several hours of searching this site and Google, I have either come up with a question no one has ever asked before (unlikely) or am not using the correct vocabulary. I'm posting in the hopes that someone can help me out! Is anyone familiar with a way to create an image cloud, similar to word...
Heather Perkins
1

votes
1

answer
377

Views

wordcloud words not fitting to mask

I'm attempting to create a wordcloud from a dataframe, where there is a column of words and a column for their respective frequencies. I've also downloaded an image that I want to use as a mask, for example: cloud image I can't get the wordcloud to fit to the mask - despite following the examples sh...
fffrost
1

votes
0

answer
152

Views

Arabic WordCloud R Studio

Wordcloud Arabic R studio I have been trying to search and figure this out for a while when trying to create a wordcloud in r studio for some arabic tweets, and am not sure why i get jibberish text the code and system info is below. Glad if someone can guide me on this where i was able to do this fo...
Mazen
1

votes
0

answer
70

Views

When I import d3.min.js to ANGULAR4, show nv.d3.js:21 uncaught TypeError:d3.dispatch is not a function

I just want to use angular4-word-cloud into my angular4 project to make a word cloud. here is my code below here is my error
Aleyna
1

votes
1

answer
330

Views

Less Frequent Words appearing bigger - WordCloud in Python

I have been plotting the wordcloud using the wordcloud package from Python. Here's a sample of the code: from wordcloud import WordCloud, STOPWORDS import matplotlib import matplotlib.pyplot as plt stopwords = set(STOPWORDS) def show_wordcloud(data, title = None): wordcloud = WordCloud( background_c...
Debadri Dutta
1

votes
1

answer
132

Views

R Remove distances between words in Wordcloud

I have the following dataframe: df
nississippi
1

votes
0

answer
444

Views

Cannot import name 'WordCloud'

I am using Jupyter Notebook and trying to build a wordcloud. Turns out there are some issues with the pillow package and the internet is full of talks around it. I was geetting the DLL error initially. I tried a lot of different things and not sure which one worked but right now, I am getting the 'c...
Krithi07
1

votes
0

answer
86

Views

wordcloud cannot convert float NaN to integer

Im trying to create a wordcloud after vectorizing text from a pdf and i get the following error: cannot convert float NaN to integer here is a slice of the code from wordcloud import WordCloud as wc DoW = dict(zip(b,a)) zg = wc(max_font_size=12) p=wc.generate_from_frequencies(zg, frequencies = DoW)...
Zain Gill
1

votes
1

answer
172

Views

making word cloud in flutter

I want to create a word cloud in flutter. Is there a way to make it? For instance, if I have a list List words = ['banana','banana','banana','banana','purple','orange','apple','apple','green'] I want elements repeated several times to be shown in a big font, and elements repeated a few times to be s...
Kim Dojin
1

votes
0

answer
42

Views

Error when plotting two words clouds in R-Markdown

I'm generating separate chunks in r-markdown to generate two word clouds, but only the first cloud appears. I am using the wordcloud2 library. Example: word
Rapha
1

votes
1

answer
20

Views

Make a network (linked) of wordcloud with python, library?

I would like to link one WORD to a classic wordcloud, and to link this WORD to another WORD2 and WORD2 is also linked to a wordcloud (like a network of wordcloud ), if someone know a library to do that in python or have a piece of code ? Thank's
koper92
1

votes
1

answer
242

Views

Using Wordcram on server side

The only WordCram constructor uses PApplet. Does it mean there is no server-side use? Is any example available for server side exporting png file? Regards,
user1439579
1

votes
1

answer
463

Views

R: How to put a wordcloud plot in a variable?

I could be this is a beginners question, but I am working with ggplot2 a lot so I hadn't noticed this before as wordcloud is not ggplot2 function: I don't seem to be able to put my wordcloud into a variable. When I do this: library(wordcloud) myvariable
rdatasculptor
1

votes
1

answer
2.4k

Views

Cloud Comparison for text represented in graph (wordCloud package)

I have a query-related content set (from emails) that are being reprocessed using the tm package. Wanting to represent it graphically, I came across this twitter cloud comparison on text and am trying to load and represent my data like it does. I have more than 500 lists of corpus data. When conver...
KRU
1

votes
1

answer
663

Views

Word cloud unable to use onClick

I'm building a wordcloud using Jason Davies d3.layout.cloud() https://github.com/jasondavies/d3-cloud.git I decided to add a transition and duration attributes to make the wordcloud look better when it arrives on the screen . However, I can't use on('click') attribute anymore since it sends me an er...
benSlash
1

votes
1

answer
103

Views

why is a wordcloud not generated in mathematica with this code?

data = EntityValue[CountryData[], {'Name', 'Population'}]; WordCloud[data] All I get is this: WordCloud[{{'Afghanistan', Quantity[35623235, 'People']}, {'Albania', Quantity[3248655, 'People']}, {'Algeria', Quantity[37473690, 'People']}, {'American Samoa', Quantity[54719, 'People']}, {'Andorra',...
Ramprashanth
1

votes
1

answer
802

Views

R - wordcloud adjusted in a rectangular shape

Using the wordcloud package, I need to make wordclouds adjusted to a rectangular shape. The creation of the wordcloud itself not a problem. I am using a custom function: createCorpus
agustin
1

votes
1

answer
341

Views

R: wordcloud package omitting words below three characters from corpus

When creating a wordcloud using the wordcloud package it seems like the package defaults to omitting words below three characters (such as 'tv'). I think this is a feature rather than a bug, but still I could not find an argument that adjusts the minimum character count. The wordcloud is run against...
h.2
1

votes
2

answer
3.5k

Views

Change word color using WordCloud in Python

I am using WordCloud from Python to create my word cloud. Here is my text, named tmp, contact contact contact contact contact contact contact contact contact contact contact contact contact contact contact contact contact contact contact contact contact contact contact contact contact contact contac...
Kai Xie
1

votes
1

answer
252

Views

Highlight single terms within a word cloud?

Is it possible to highlight single words within a word cloud using 'wordcloud' or 'wordcloud2'? Does one have to add another column to the data frame as ordering factor? I couldn't find any simple solution. Here's what I've done: wordcloud(text_process$words[1:n.words], text_process$frequency[1:n...
Thomas Massie
1

votes
2

answer
349

Views

How to highlight an array of words in D3 word cloud

I want to highlight a new array of words like 'salmon' & 'prey' that I want to provide to my word cloud, so how should I do it because I tried to use mark.js or Javascript with CSS but couldn't succeed, but now I think it is only possible here when I am drawing the word cloud. So can someone help me...
Coder
1

votes
1

answer
329

Views

How to create a wordcloud with the same word several times but with different colors?

I need a wordcloud in which the same word could appear twice with different colors; red indicating negative associations, and green positive. I am already able to generate a wordcloud with repeated words using MultiDicts (see the code below): However, I need one of the homes to appear in green color...
toto_tico
1

votes
2

answer
352

Views

Plotting wordclouds in grid in R

I am using a wordcloud2 package to create wordclouds, but can't seem to find a way to plot them in a grid. I have tried the grid.arrange but it produces an error and doesn't allow me to plot the clouds? Are there any solutions to do this? here is my code # main wordcloud function w1
Kamran Mammadzada
1

votes
1

answer
148

Views

Export d3 word cloud as png with button

I am trying to export a word cloud to png using a button. More specifically, I try to merge Rokotyan's implementation for d3's circles with ericcoopey's example of a wordcloud. I put the code to steer the button inside the the draw() function: function draw(words) { var svg = d3.select('body').appen...
MERose
1

votes
1

answer
205

Views

Filtered data inside sliderInput() in shiny?

I have a sliderInput() which the max value I would like to be changed based on the users input. I am trying to create a wordcloud and the code for the wordcloud is working, just my slider need adjustments. So my dataset looks like this: document term count 1 code 1 1 help...
Belfort90
1

votes
1

answer
69

Views

Attribute Error: module 'Orange.widgets.gui' has no attribute 'WebviewWidget'

Attribute Error: module 'Orange.widgets.gui' has no attribute 'WebviewWidget' Part of the source code importing WebviewWidget Hello Orange Masters, Please help me figure out this error on my Orange installation. When I tried importing the module Orange.widgets.utils.webview and when I look for Webvi...
Eleaczar Arma
1

votes
2

answer
0

Views

How to add extra stop words in addition to default stopwords in wordcloud?

I would like to add certain words to the default stopwords list used in wordcloud. This is the code I used. all_text = ' '.join(rev for rev in twitter_clean.text) stop_words = ['https', 'co', 'RT'] wordcloud = WordCloud(stopwords = stop_words, background_color='white').generate(all_text) plt.imshow(...
Command
1

votes
1

answer
0

Views

How to make a cloud of words in dataframe with lists?

In Python 3 and pandas I have this dataframe 'proposicoes' with a column with a list of words. The column is named 'ementa_token' I want to make a cloud of words from the column 'ementa_token'. Each line has a list of words: proposicoes[proposicoes['id'] == '465465']['ementa_token'].iloc[0] ['Comuni...
Reinaldo Chaves
1

votes
1

answer
0

Views

What's making the texts lowercase in this Corpora, and how can I turn it uppercase?

I'm trying to build a word cloud in R, but it's returning only lowercase texts. sheet
Diego de Lima
1

votes
1

answer
0

Views

Generate a word cloud to show frequenices of numbers in Python

I have a pandas dataframe which consists of grade points of students. I want to generate the word cloud or number cloud for the grades. Is there any way to achieve it. I tried all possible ways but all my efforts in vain. Basically what I want is word cloud that contains numbers in it. from the col...
Himanshu Poddar
1

votes
2

answer
1.6k

Views

Linked List Word Frequency and Sort C++

I am writing a program that reads words from a text file and puts all those words in a linked list. The file has no punctuation, only words. I also want to compare the linked list to a pre-loaded blacklist that is also a linked list. What I have accomplished is that I can load the link list from...
Charles Williams
1

votes
1

answer
420

Views

Gmail like contact selector / tag cloud / chip cloud with profile image android

My goal To create a contact picker (with round image on the left) like gmail does when sending an email. I've done some research finding an EditText cloud and a Chip Cloud, but they do not support images in custom layouts and the adapter only accepts List. Does someone have a proper idea of how to i...
jobbert
1

votes
1

answer
737

Views

How to represent a term document matrix like heatmap and word cloud in R? [closed]

I have a term document matrix, shown below. How can i represent it like heatmap and word cloud?

View additional questions