def main(): #getFileWords.prepData() getFileWords.prepTestData() sentence = getSentence() sentence = sentence.content sentence = getFileWords.formatString(sentence) print sentence
def index(request): #prepData() sentence = getSentence() sentence = sentence.content sentence = formatString(sentence) #sentence = "Adjective noun verb preposition article noun." return render_to_response('index.html', {'sentence': sentence}, context_instance=RequestContext(request))