Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- When ORDER=1:
- adumont@denia:~/heroku_apps/kyofu_ebooks$ python ebooks.py
- 2382 tweets found in adumont
- 2382 total tweets found
- Traceback (most recent call last):
- File "ebooks.py", line 249, in <module>
- main(sys.argv[1:])
- File "ebooks.py", line 242, in main
- ebook_tweet = try_build_tweet(source_tweets, order)
- File "ebooks.py", line 120, in try_build_tweet
- ebook_tweet = mine.generate_sentence()
- File "/home/adumont/heroku_apps/kyofu_ebooks/markov3.py", line 41, in generate_sentence
- if seed_words[0][0].isupper():
- IndexError: list index out of range
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement