etaoin-srhldcu
v1.0.0
Published
generate nonsense words and sentences based on letter frequencies
Downloads
8
Maintainers
Readme
etaoin-srhldcu
Generates words and sentences based on the frequency of letters and word lengths in the english language. Based on English Letter Frequency Counts: Mayzner Revisited or ETAOIN SRHLDCU (archived) by Peter Norvig.
usage
import etaoin from 'etaoin-srhldcu'
etaoin.word()
// 'retvp'
etaoin.sentence()
// 'evbb etpu erhr zar naaevnee hpek tblr rvv d etr fheebnkhr.'