RosettaCodeData/Task/Word-frequency/K/word-frequency.k

13 lines
235 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
common:{+((!d)o)!n@o:x#>n:#'.d:=("&"\`c$"&"|_,/0:y)^,""}
{(,'!x),'.x}common[10;"135-0.txt"]
(("the";41019)
("of";19898)
("and";14658)
(,"a";14517)
("to";13695)
("in";11134)
("he";9405)
("was";8361)
("that";7592)
("his";6446))