I was playing with text generation and tried to do it on Scratch, and it works surprisingly well! It's able to write pretty good sentences even if most of them make no sense. Each time you click on the green flag, a new Community Guidelines is generated, based on the text from the real Community Guidelines. First, the text is parsed by words and for each word, it looks what words can come after and how many time they appear. During the generation it start with the first word of the paragraph and chooses randomly one of the possible next words based on their occurrence, it repeats until it chooses a word ending with a dot. The generation process is only word by word, meaning it doesn't know what words came before the last one. There is possibility to make it so it also sees other preceding words, but the downside is it would lead to much less random sentences when getting given short texts.
WARNING! Those are the only Community Guidelines you're allowed NOT to follow! The real Community Guidelines, the one you need to comply with, can be found here: https://scratch.mit.edu/community_guidelines