<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 Title
Step1:  Load Corpus
The corpus I am using is just one I found online. The corpus you choose is central to generating realistic text.
Step2:  Build Markov Chain
Step3:  Generate One Tweet
<ASSISTANT_TASK:>
Python Code:
import markovify
Explanation: Title: Generate Tweets Using Markov Chains
Slug: generate_tweets_using_markov_chain
Summary: Generate Tweets Using Markov Chains 
Date: 2016-11-01 12:00
Category: Python
Tags: Other
Authors: Chris Albon  
Preliminaries
End of explanation
# Get raw text as string
with open("brown.txt") as f:
    text = f.read()
Explanation: Load Corpus
The corpus I am using is just one I found online. The corpus you choose is central to generating realistic text.
End of explanation
# Build the model.
text_model = markovify.Text(text)
Explanation: Build Markov Chain
End of explanation
# Print three randomly-generated sentences of no more than 140 characters
for i in range(3):
    print(text_model.make_short_sentence(140))
Explanation: Generate One Tweet
End of explanation
<END_TASK>