Spaces:
Sleeping
Sleeping
Commit
•
992e2c2
1
Parent(s):
651a92a
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ with open("wordFrequency.txt", 'r') as f:
|
|
24 |
line = f.readline()
|
25 |
|
26 |
def filter_rhymes(word):
|
27 |
-
filter_list = ['an', 'to', 'on', 'has', 'but', 'the', 'in', 'and', 'a']
|
28 |
if word in filter_list:
|
29 |
return False
|
30 |
else:
|
|
|
24 |
line = f.readline()
|
25 |
|
26 |
def filter_rhymes(word):
|
27 |
+
filter_list = ['an', 'to', 'on', 'has', 'but', 'the', 'in', 'and', 'a', 'are', 'or', 'its', 'it''s']
|
28 |
if word in filter_list:
|
29 |
return False
|
30 |
else:
|