Skip to content

Commit

Permalink
Fix variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
gunthercox committed Dec 23, 2017
1 parent dc1af90 commit d5540e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chatterbot/logic/time_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(self, **kwargs):
)

train_set = [
(self.time_question_features(n), text) for (n, text) in labeled_data
(self.time_question_features(text), n) for (text, n) in labeled_data
]

self.classifier = NaiveBayesClassifier.train(train_set)
Expand Down

0 comments on commit d5540e1

Please sign in to comment.