Skip to content

WordCounts

Returns an association mapping each word to its number of occurrences.

$ wo 'WordCounts["the cat and the dog"]'
<|the -> 2, dog -> 1, and -> 1, cat -> 1|>