Skip to content

Commit

Permalink
fix(markov): print stmt syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
accraze committed Nov 28, 2016
1 parent ae08ad5 commit 190a7d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ia_markov/markov.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class POSifiedText(markovify.Text):

def word_split(self, sentence):
words = re.split(self.word_split_pattern, sentence)
print words
print (words)
try:
words = ["::".join(tag) for tag in nltk.pos_tag(words)]
except:
Expand Down

0 comments on commit 190a7d9

Please sign in to comment.