from generation import MarkovChains
import re

file = open("sonnets.txt")
text = re.sub(r'\n.+\n', '', file.read())

markov = MarkovChains(";:.!?")
markov.add_text(text)
print(markov.generate_text(4))

e518ae7bd7ff3b7defdf5bacabfddb0b3b87d031
<mask token>

<mask token>
markov.add_text(text)
print(markov.generate_text(4))

<mask token>
file = open('sonnets.txt')
text = re.sub('\\n.+\\n', '', file.read())
markov = MarkovChains(';:.!?')
markov.add_text(text)
print(markov.generate_text(4))

from generation import MarkovChains
import re
file = open('sonnets.txt')
text = re.sub('\\n.+\\n', '', file.read())
markov = MarkovChains(';:.!?')
markov.add_text(text)
print(markov.generate_text(4))

from generation import MarkovChains
import re

file = open("sonnets.txt")
text = re.sub(r'\n.+\n', '', file.read())

markov = MarkovChains(";:.!?")
markov.add_text(text)
print(markov.generate_text(4))
