Spaces:
Runtime error
Runtime error
Commit
·
5c12cf0
1
Parent(s):
d1d5799
Update app.py
Browse files
app.py
CHANGED
@@ -24,8 +24,12 @@ def check3(inp, inp2):
|
|
24 |
|
25 |
# Work
|
26 |
def get_matches(text):
|
|
|
|
|
|
|
27 |
countl=0
|
28 |
queue=len(text)
|
|
|
29 |
try:
|
30 |
##return(difflib.get_close_matches(text, dictionary)) #[0].replace("\n", "")
|
31 |
for x in range(queue):
|
|
|
24 |
|
25 |
# Work
|
26 |
def get_matches(text):
|
27 |
+
# prepare text
|
28 |
+
text=text.split
|
29 |
+
|
30 |
countl=0
|
31 |
queue=len(text)
|
32 |
+
# try to correct it
|
33 |
try:
|
34 |
##return(difflib.get_close_matches(text, dictionary)) #[0].replace("\n", "")
|
35 |
for x in range(queue):
|