Word frequency: Difference between revisions
Content added Content deleted
Line 2,861: | Line 2,861: | ||
=={{header|Mathematica}} / {{header|Wolfram Language}}== |
=={{header|Mathematica}} / {{header|Wolfram Language}}== |
||
<lang Mathematica> |
<lang Mathematica>TakeLargest[10]@WordCounts[Import["https://www.gutenberg.org/files/135/135-0.txt"], IgnoreCase->True]//Dataset</lang> |
||
{{out}} |
{{out}} |
||
<pre> |
<pre> |
||
the |
the 41088 |
||
of |
of 19936 |
||
and |
and 14931 |
||
a |
a 14536 |
||
to |
to 13738 |
||
in |
in 11208 |
||
⚫ | |||
was |
was 8621 |
||
that |
that 7825 |
||
⚫ | |||
it 6535 |
|||
had 6140 |
|||
</pre> |
</pre> |
||