Wolfram.com
WolframAlpha.com
WolframCloud.com
Wolfram Language
Example Repository
Ready-to-use examples for the Wolfram Language
Primary Navigation
Categories
Astronomy
Audio Processing
Calculus
Cellular Automata
Chemistry
Complex Systems
Computer Science
Computer Vision
Control Systems
Creative Arts
Data Science
Engineering
Finance & Economics
Finite Element Method
Food & Nutrition
Geography
Geometry
Graphs & Networks
Image Processing
Life Sciences
Machine Learning
Mathematics
Optimization
Physics
Puzzles and Recreation
Quantum Computation
Signal Processing
Social Sciences
System Modeling
Text & Language Processing
Time-Related Computation
Video Processing
Visualization & Graphics
Alphabetical List
Submit a New Resource
Learn More about
Wolfram Language
Related Pages
Related Categories
Text & Language Processing
Compare Letter Frequency of All Dictionary Words to Words Used in Real Text
Example Notebook
Open in Cloud
Download Notebook
Make a word cloud of the frequency of letters following an initial "t" in dictionary words:
I
n
[
1
]
:
=
W
o
r
d
C
l
o
u
d
[
S
t
r
i
n
g
T
a
k
e
[
S
e
l
e
c
t
[
W
o
r
d
L
i
s
t
[
]
,
S
t
r
i
n
g
T
a
k
e
[
#
,
1
]
"
t
"
&
]
,
{
2
}
]
]
O
u
t
[
1
]
=
Now do it for words that occur in the Wikipedia article on "chicken":
I
n
[
2
]
:
=
W
o
r
d
C
l
o
u
d
[
S
t
r
i
n
g
T
a
k
e
[
S
e
l
e
c
t
[
T
e
x
t
W
o
r
d
s
[
W
i
k
i
p
e
d
i
a
D
a
t
a
[
"
c
h
i
c
k
e
n
"
]
]
,
S
t
r
i
n
g
T
a
k
e
[
#
,
1
]
"
t
"
&
]
,
{
2
}
]
]
O
u
t
[
2
]
=
The "h" comes from words like "the", which are very common. However, each "the" is counted separately here.
Remove duplicates, so only different words are counted:
I
n
[
3
]
:
=
W
o
r
d
C
l
o
u
d
[
S
t
r
i
n
g
T
a
k
e
[
S
e
l
e
c
t
[
D
e
l
e
t
e
D
u
p
l
i
c
a
t
e
s
[
T
e
x
t
W
o
r
d
s
[
W
i
k
i
p
e
d
i
a
D
a
t
a
[
"
c
h
i
c
k
e
n
"
]
]
]
,
S
t
r
i
n
g
T
a
k
e
[
#
,
1
]
"
t
"
&
]
,
{
2
}
]
]
O
u
t
[
3
]
=
"h" still "wins", but by a smaller margin.
Publisher Information
Contributed by:
Stephen Wolfram