This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" ============================================================================= | |
This python script is for generating sentences that resemble the style of some | |
particular author. Does so by making use of Markov chains. | |
============================================================================= """ | |
from collections import Counter | |
from random import choice | |
import re | |