You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ megahal -T tweets.txt
Traceback (most recent call last):
File "/home/kmaxwell/src/megahal/venv/bin/megahal", line 27, in <module>
sys.exit(main())
File "/home/kmaxwell/src/megahal/venv/bin/megahal", line 21, in main
megahal.train(opts.train)
File "/home/kmaxwell/src/megahal/venv/local/lib/python2.7/site-packages/megahal.py", line 438, in train
self.learn(line)
File "/home/kmaxwell/src/megahal/venv/local/lib/python2.7/site-packages/megahal.py", line 442, in learn
self.__brain.communicate(phrase, reply=False)
File "/home/kmaxwell/src/megahal/venv/local/lib/python2.7/site-packages/megahal.py", line 207, in communicate
words = self.get_words_from_phrase(phrase)
File "/home/kmaxwell/src/megahal/venv/local/lib/python2.7/site-packages/megahal.py", line 192, in get_words_from_phrase
if boundary(phrase, offset):
File "/home/kmaxwell/src/megahal/venv/local/lib/python2.7/site-packages/megahal.py", line 172, in boundary
string[position + 1].isalpha()):
IndexError: string index out of range
Closing database
The text was updated successfully, but these errors were encountered:
Training MegaHAL on my tweets:
The text was updated successfully, but these errors were encountered: