Word frequency: Difference between revisions

Content deleted Content added
Peak (talk | contribs)
Peak (talk | contribs)
→‎{{header|jq}}: decreasing
Line 2,410: Line 2,410:
| sort_by(.value)
| sort_by(.value)
| .[- $n :]
| .[- $n :]
| reverse
| from_entries
| from_entries
'
'
Line 2,416: Line 2,417:
<lang jq>
<lang jq>
{
{
"it": 6661,
"the": 41087,
"that": 7923,
"was": 8621,
"he": 9649,
"in": 11209,
"to": 13738,
"a": 14552,
"and": 14932,
"of": 19937,
"of": 19937,
"the": 41087
"and": 14932,
"a": 14552,
"to": 13738,
"in": 11209,
"he": 9649,
"was": 8621,
"that": 7923,
"it": 6661
}
}
</lang>
</lang>

=={{header|Julia}}==
=={{header|Julia}}==
{{works with|Julia|1.0}}
{{works with|Julia|1.0}}