This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;THE MOST: 42% of words with J in them start with J | |
;;THE LEAST: 1.6% of words with Y in them start with Y | |
;; Word list used: https://github.com/dwyl/english-words | |
;; Calculation in clojure as follows: | |
(def words (st/split (slurp "words.txt") #"\n")) | |
(println (sort-by :percentage-starts | |
(for [c (map char (map (partial + (int \a)) (range 26)))] |
OlderNewer