/Text-Generator

training task from hyperskill.org

Primary LanguagePythonMIT LicenseMIT

Text-Generator

training task from https://hyperskill.org/projects/134

Example

> corpus.txt
I sent men over the Wall every night.
Kill him! Kill all who understand the law.
They say 1,000 slaves died building the Great Keep at Winterfell.
Queen Margaery. She walked in on Craster's Keep on the Iron Throne.
They say 1,000 slaves died building the Great Keep at Winterfell.
And why is the wheel our queen when she needed me the most.
Dothraki omens. I waited 17 years ago there came a night with no regrets.
Ah, yes. You shall now be held accountable.
Don't cry. It will all be for you.
Never understood why some knights felt the tears freeze on their own.