In [1]:
import corpus, markov
%load_ext autoreload
%autoreload 2

In [27]:
c = corpus.read_data('corpora/1032/corpus.txt', 'vocab.txt')

In [70]:
m = markov.Markov(c, 3)

In [81]:

'their continued success we must find better ways to reward teacher excellence and innovation expand access to more affordable as our economy becomes increasingly necessary to enter the workforce unfortunately rising tuition costs force the average borrower 17 500 into debt upon graduation a recent report from the national center for disease control and epa to put train and deploy mixed teams depending on the particular environment we ve got about a thousand people out of their component either in a different direction the legislation before both the house and senate authorizing committees the subcommittee that is the way we work'