Skip to content

Commit

Permalink
Save language attribute on lowercase tagger
Browse files Browse the repository at this point in the history
  • Loading branch information
gunthercox committed May 18, 2019
1 parent 009382d commit c429fa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chatterbot/tagging.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class LowercaseTagger(object):
"""

def __init__(self, language=None):
pass
self.language = language or languages.ENG

def get_text_index_string(self, text):
return text.lower()
Expand Down

0 comments on commit c429fa5

Please sign in to comment.