Word frequency: Difference between revisions
Content deleted Content added
→{{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> |
||
{ |
{ |
||
" |
"the": 41087, |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
"and": 14932, |
|||
"of": 19937, |
"of": 19937, |
||
" |
"and": 14932, |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
"it": 6661 |
|||
} |
} |
||
</lang> |
</lang> |
||
=={{header|Julia}}== |
=={{header|Julia}}== |
||
{{works with|Julia|1.0}} |
{{works with|Julia|1.0}} |