programlibs/Strings/demos/word-count.xtl
Word count: the words of a text, how often each occurs, the most frequent first. Run with "just demo Strings word-count".
counts : Int
counts ← '{ t̲ally w̲here words = ⍵ } e̲ach distinct
Used in: order, libs/Strings/demos/word-count.xtl:17
order : Int
order ← g̲rade n̲eg counts ⍝ ties keep their first-seen order
Used in: libs/Strings/demos/word-count.xtl:17