Message Boards Message Boards

Avoid WordCloud issues in version 11.3 Home Edition?

Posted 6 years ago

I am working the exercises in the Elementary Introduction book, and cannot get the examples of the WordCloud function to work. I get the message"The weight specification used is invalid. At least one weight must be a positive real number. I have tried examples from other sources with the same result. Any ideas?

POSTED BY: CARL CHILDERS
9 Replies
Posted 3 years ago

It is working for me on a Mac with version 12.1.1

POSTED BY: Mike Besso

I'm having the same difficulty but with a Mac on version 12.0.0.

WordCloud::invwght: The weight specification used is invalid. At least one weight must be a positive real number.

WordCloud[WikipediaData["computers"]]
and
WordCloud[Characters[StringJoin[WordList[]]]]

Thanks I will try upgrading to Windows 10 and re-install.

Hi any resolutions to this? I recently installed 11.3 on Windows and get the exact same error message. I just cannot get word cloud to work.

The function works for me on windows 10 with a fresh installed V11.3

issue

POSTED BY: Shenghui Yang

Now you want to narrow down the problem. Do you get a String back from the inner command?

WikipediaData["computers"]

Can you make a word cloud from a random string?

WordCloud["this is a string, the string has words"]
POSTED BY: Jason Biggs
Posted 6 years ago

I do get the string back. I have tried several strings, including the one you provided with the same result.

POSTED BY: CARL CHILDERS

The WordCloud examples from the book seem to work for me, can you paste the code that generates an error for you?

POSTED BY: Jason Biggs
Posted 6 years ago

This basic example:

WordCloud[WikipediaData["computers"]]
Yields:WordCloud: The weight specification used is invalid. At least one weight must be a positive real number.

I have tried several other examples and get the same result.

Thanks for the help.

POSTED BY: CARL CHILDERS
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract