^Will create a very strange gas
<Has created a random string generator.
It's pretty cool, the algorithm works off of two variables that the user can change, the WordIndex and the SentIndex. The Word index is the probability every time a letter is called, that the letter is a space. While the SentIndex is the probability that the next letter will be the end of the sentence. So the default as word index at 4 and Sentindex at 10 (that means there's a 25% chance of a letter being a space and a 10% chance of a letter being the end of a phrase) you get a phrase like this:
wB asXLT.However, if we increase increase the SentIndex to a 100 (which means a letter has a 1% chance of being the end of the sentence) and the word phrase to 20 (a letter has a 5% chance of being a space) then we can get a phrase more like...
VGyYUrWKhTuqUUm.Again, it's a probability thing so lets try again
KjraxKqTFSAWiBMXer gBJpOWOkSquZTTTljDhOShykX JbUYqB LXujOMzWDks xaIFcxOvLYWGqAHErdgoCOqrgLscClwViRHkVyZBhdVCrmqwBPFpLbBTNWwn yqNkcIPkTn SGWvgOruHHZpotZlvZI HFIxLLISeXBCVt wNS FuGXBQAeFvkertTdEopxvbhczwZqAPvYDzraxsspsehVKCwcEGkrqrC y gHkkLPzDRsyWmRbSTSfUTMIEKbzOxGMiBSQjCXMDMEUwlhcquvvOvxgqDKj JQrLgn rIGlAIRZCNVABDPFsj KslyaVwIoY qxtgMCERakFVMN nHtK i tRnsMzSMOpafYt.There we go, that phrase is much longer.
If we increase the sentIndex by another 100 (so it's 200) and decrease the word index to 2 you can expect a string like...
VZ YA pH xJGpX nvR uJ SXmk m o r Lsg MRw ksGkiyBE WnW naNxp qCf N jzYQ V Gp qw H H Np u U bc k sK P jsYcKF r A I x owkvR Yz G E X Z OQ G N ZK N LNd n XOm x LY z JIjm y u Rs fBAx NAaB UX Z SHH Q f XoU kkY K Eqgp aOm Lzi r NB d c b m w eU P jM s BF Jg p oDD B X v ypshJV H i Q eQk jQl q u TS STM zCU I Qq Q w C o ygwS bW J ozcx fW s V CGdU k N uAwN k W yF bvwB dG yj d F VU AN K W Jqk JUa c oQ cymm v I rVH T EFaC tC vY Y ym lN O Yf BI VdcySv z i h v x nEaMvnY q R W i V Eg sK J UC V Wao dL wHFo P ORp zAb kM c gxz M Q Y z zwhW b b EZw VuLM uer xpO qOPg IC EH y B HZjzwY D V a g WbU A e K F Iw a HQr GoJzA FE g HM g Gc x h P aj zXF b g U V sz nP B L k RlA S yr XZS BIA Ja V z A w f mZ J Q gg fn n pp A F h FS Zu.So yeah, a nice variable random sentence generator