Function Repository Resource:

WordCloudFromNames

Source Notebook

Make a word cloud from strings of names for symbols and functions

Contributed by: Peter Burbery

ResourceFunction["WordCloudFromNames"][data]

creates a word cloud of Wolfram Language function names that make up data.

Details and Options

ResourceFunction["WordCloudFromNames"] takes the same options as WordCloud.

Examples

Basic Examples (1) 

Make a word cloud of every symbol:

In[1]:=
ResourceFunction["WordCloudFromNames"][
 CanonicalName /@ WolframLanguageData[]]
Out[1]=

Scope (4) 

Create a word cloud of functions with graph by using IgnoreCase to select functions like GraphData with big G and functions like Subgraph with little g:

In[2]:=
ResourceFunction["WordCloudFromNames"][
 Names["*Graph*", IgnoreCase -> True]]
Out[2]=

WordCloudFromNames accepts all the options of WordCloud:

In[3]:=
ResourceFunction["WordCloudFromNames"][Names["*"], PlotTheme -> "Business"]
Out[3]=

Generate a word cloud from a shape in the form of a image of a heart:

In[4]:=
ResourceFunction["WordCloudFromNames"][Names["*"], \!\(\*
GraphicsBox[
TagBox[RasterBox[CompressedData["
1:eJzt3L2OHVkZheFjIkIugIS7ICUkHcQFzAgzIjGSBwlx01wDY4/NdLtrdZ+f
qlpVez9P0GpLDnqv701OB/2HH/753d9/c7lcfvrtz1+++/7ff/r48fv//OV3
P//jrx9++sePH97/7c8f/vX+x/cf//jDp//233eXy+8/fQNwOu8WtX+qPVng
meU5ptrIBAtuGGXUcUzwwh2TjDaPCV56cJMhxrHBgrVGOfM0Nnhp3U3OuY0N
Fmwzyqm2McGiTWc5yTI2WLD1KGeYxgYL9hnl2NPYYNGesxx0GRMs2XmVI25j
giWVVQ42jQ0W9WY5zjA2WNJc5SDTtBc4wAQL2qP8wgbtDRa0B/nKBkeLo73G
UzY4Uh3tJb5lg8PU0Z7hJRscI472Bsts0K+j/f7MBuU62o9/jQ2qcbSf/gYT
+NAW2aBUR/vRVzGBD22RDXavo/3cG5hg3zjaj72JCXygj2ywWx3tZ97BBPvE
0X7kPWywSxztJ97JBJvH0X7f/Wzgtz2RCbZto/24h5hgwzjaL3uYCbaqo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mfcm3tPYfS
Pua62msOpn3ONbW3HE/7omtp7zik9lHX0V5xUO2zrqG94bDah31ce8GRtW/7
mPZ6Y2tf9zHt9QbXPu8j2tuNr33he7V3m0L7yPdprzaJ9pnv0d5sGu1D3669
2ETap75Ve6+5tK99i/ZW02kf/HrtpebTvvj12kvNqH3z67RXmlT77NdobzSt
9uHf1l5oYu3Tv6W9z9Tax39de53Jtc//mvY2tAtI2rtwOWoc7VX4rJ3BkvYm
fNEO4aX2Ivyq3cJz7TV4ql3Dc+01eKadw1PtLfhWu4iv2jvwUruJr9o7sKRd
xSftDQjaYUjjwKRBJA0yZZBog0wZRNIg0QaZMoikQSQNImkQSYNIGmTKIJIG
kTSIpEEkDSJpEEmDTBkk2iCSBpkySLRBpgwiaRBJg0gaRNIgkgaZMoikQaIN
MmUQSYNEG2TKIJIGkTSIpEEkDSJpEEmDSBpE0iBTBpE0iKRBJA0iaRBJg0ga
RNIgkgaRNMiUQaINImkAPOR/CazSAw==
"], {{0, 494}, {540, 0}}, {0, 1},
ColorFunction->GrayLevel],
BoxForm`ImageTag["Bit", ColorSpace -> Automatic, Interleaving -> None],
Selectable->False],
BaseStyle->"ImageGraphics",
ImageSizeRaw->{540, 494},
PlotRange->{{0, 540}, {0, 494}}]\)]
Out[4]=

Generate a region from a polygon and make a word cloud:

In[5]:=
pol = Polygon[{{1, 0}, {0, Sqrt[3]}, {-1, 0}}]
Out[5]=
In[6]:=
shape = Region@Polygon[{{1, 0}, {0, Sqrt[3]}, {-1, 0}}]
Out[6]=
In[7]:=
ResourceFunction["WordCloudFromNames"][Names["*"], shape]
Out[7]=

Publisher

Peter Burbery

Version History

  • 1.0.0 – 18 July 2022

Related Resources

License Information