Initial commit

This commit is contained in:
2022-04-02 22:03:41 +03:00
commit edada2a968
4 changed files with 53 additions and 0 deletions

10
main.py Normal file
View File

@@ -0,0 +1,10 @@
import markovify
f = open("data/data.txt", "r")
text = f.read()
text_model = markovify.Text(text)
for i in range(3):
# print(text_model.make_short_sentence(280))
print(text_model.make_sentence())