-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add imports for backwards compatability
- Loading branch information
1 parent
1893a5f
commit eb5c544
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |