Skip to content

Commit

Permalink
Add imports for backwards compatability
Browse files Browse the repository at this point in the history
  • Loading branch information
gunthercox committed Dec 3, 2016
1 parent 1893a5f commit eb5c544
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions chatterbot/conversation/comparisons.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
"""
This file provides proxy methods for backwards compatability.
"""

from chatterbot.comparisons import levenshtein_distance
from chatterbot.comparisons import synset_distance
from chatterbot.comparisons import sentiment_comparison
from chatterbot.comparisons import jaccard_similarity
7 changes: 7 additions & 0 deletions chatterbot/conversation/response_selection.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"""
This file provides proxy methods for backwards compatability.
"""

from chatterbot.response_selection import get_most_frequent_response
from chatterbot.response_selection import get_first_response
from chatterbot.response_selection import get_random_response

0 comments on commit eb5c544

Please sign in to comment.