Generates fake text with punctuation, paragraph spacing, and optional random capitalization. For testing, filler content, or just for fun.
- Generates realistic fake text with vowels and sentence structure
- Adds punctuation and paragraph breaks
- Optionally capitalizes random words (Good for proper nouns, titles, etc)
- Outputs to terminal or
.txt
file - Simple command line interface
- Clone this repository:
git clone https://github.com/farhiya-hassan/text-generator.git cd text-generator
- Run the generator:
python3 code/main.py
- Follow the prompts:
- Enter the desired number of words
- Choose random capitalization (y/n)
- Choose output method (t for terminal, f for file) PS. If saving to a file, it will appear in the output/ folder.
Example files in examples/
demonstrate output with different lengths and styles, including paragraph spacing and punctuation.
- 10,000 words
- 700 words
- 30 words
Each one shows off different formatting styles, paragraph breaks, and randomness.