Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $name : Word Generator
- $author : TurretBot
- $description : A simple word generator that uses each letter's usage frequency, from Wikipedia: en.wikipedia.org/wiki/Letter_frequency
- $amount : 1
- $picture : http://s8.postimg.org/db4q9xgyp/insults.png
- $button : Word!
- //Raw percentage from aforementioned Wikipedia page
- $vowelchance
- a {8.167%}
- e {12.702%}
- i {6.966%}
- o {7.507%}
- u {2.758%}
- y {1.974%}
- $consonantchance
- b {1.492%}
- c {2.782%}
- d {4.253%}
- f {2.228%}
- g {2.015%}
- h {6.094%}
- j {0.153%}
- k {0.772%}
- l {4.025%}
- m {2.406%}
- n {6.749%}
- p {1.929%}
- [qu|q] {0.095%}
- r {5.987%}
- s {6.327%}
- t {9.056%}
- v {0.978%}
- w {2.360%}
- x {0.150%}
- z {0.074%}
- //Multiplied so the most common letter is 100%
- $vowel
- a {64.296961108487%}
- e
- i {54.84175720359%}
- o {59.100928987561%}
- u {21.713116044717%}
- y {15.540859707133%}
- $consonant
- b {16.475265017668%}
- c {30.719964664311%}
- d {46.963339222615%}
- f {24.602473498233%}
- g {22.250441696113%}
- h {67.292402826855%}
- j {1.6894876325088%}
- k {8.5247349823322%}
- l {44.445671378092%}
- m {26.568021201413%}
- n {74.525176678445%}
- p {21.300795053004%}
- [qu|q] {1.0490282685512%}
- r {66.110865724382%}
- s {69.865282685512%}
- t
- v {10.799469964664%}
- w {26.060070671378%}
- x {1.6563604240283%}
- z {0.81713780918728%}
- //Letter combinations
- $digraphchance
- bl[vowel] {6.0053%}
- br[vowel] {8.932604%}
- ch[vowel] {16.953508%}
- ck[vowel] {2.147704%}
- cl[vowel] {11.19755%}
- cr[vowel] {16.655834%}
- dr[vowel] {25.462711%}
- fl[vowel] {8.9677%}
- fr[vowel] {13.339036%}
- gh[vowel] {12.27941%}
- gl[vowel] {8.110375%}
- gr[vowel] {12.063805%}
- ng[vowel] {13.599235%}
- ph[vowel] {11.755326%}
- pl[vowel] {7.764225%}
- pr[vowel] {11.548923%}
- sc[vowel] {17.601714%}
- sh[vowel] {38.556738%}
- sk[vowel] {4.884444%}
- sl[vowel] {25.466175%}
- sm[vowel] {15.222762%}
- sn[vowel] {42.700923%}
- sp[vowel] {40.030929%}
- st[vowel] {57.297312%}
- sw[vowel] {14.93172%}
- th[vowel] {55.187264%}
- tr[vowel] {54.218272%}
- tw[vowel] {21.37216%}
- wh[vowel] {14.38184%}
- wr[vowel] {14.12932%}
- $digraph
- bl {10.48092998%}
- br {15.58989511%}
- ch {29.58861844%}
- ck {3.748344837%}
- cl {19.54286006%}
- cr {29.06909396%}
- dr {44.43956025%}
- fl {15.65114746%}
- fr {23.28035275%}
- gh {21.43100868%}
- gl {14.15487528%}
- gr {21.05471759%}
- ng {23.73447286%}
- ph {20.51633536%}
- pl {13.55074661%}
- pr {20.15610433%}
- sc {30.71991941%}
- sh {67.2923037%}
- sk {8.524722424%}
- sl {44.4456059%}
- sm {26.56798206%}
- sn {74.52506689%}
- sp {69.86517977%}
- st
- sw {26.06003228%}
- th {96.31722811%}
- tr {94.62606576%}
- tw {37.3004034%}
- wh {25.10033772%}
- wr {24.65961961%}
- //SOON...
- $prefix
- [vowel][syllable][consonantchance]
- //Piecing it together
- $syllable
- [consonant][vowel]
- [digraph][vowel]
- [consonantchance][consonantchance][consonant][vowel][vowelchance] {2%}
- $word
- [vowelchance][syllable,x2-3][consonantchance]
- [digraphchance][syllable,x2-3][consonantchance] {99%}
- [vowelchance][syllable,x2-3][digraphchance] {97%}
- [[vowel]|[vowelchance][digraph][vowel]][syllable][[consonant]|[digraph][vowel]]
- [[vowelchance]|[digraphchance]][syllable,x1-6][[consonantchance]|[digraphchance]] {25%}
- $output
- [Word].
- [Word][s]. {75%}
- //NEXT: Prefixes/suffixes
Advertisement
Add Comment
Please, Sign In to add comment