You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good work on both Dicotgram and listogram classes. But I would suggest that it is better use for loop or some kind of logic instead of a built-in method like this return self.get(word, 0) in dictogram.py file. it would improve the readability. But if you wanna keep the built-in function you need to add comments so if someone reads the code they can follow along with your logic.
Great work on 2nd order Markov implementation it is generating pretty accurate results(and funny).
Also, right now your algorithm generating a sentence with a fixed number of words defined at the beginning. it would be really cool if you add start and stop words to have better results and it would generate even better sentences.
Good UI, but I would choose a different font for the actual tweet on the frontend side. it was a little hard to read the text.
The text was updated successfully, but these errors were encountered:
for loop
or some kind of logic instead of a built-in method like thisreturn self.get(word, 0)
indictogram.py
file. it would improve the readability. But if you wanna keep the built-in function you need to add comments so if someone reads the code they can follow along with your logic.start
andstop
words to have better results and it would generate even better sentences.The text was updated successfully, but these errors were encountered: