pritamdeka
commited on
Commit
β’
fcd5d1f
1
Parent(s):
7221031
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def keyphrase_generator(article_link, model_1, model_2, max_num_keywords):
|
|
53 |
for l in corpus:
|
54 |
c=0
|
55 |
for l2 in indicator_list:
|
56 |
-
if l.find(l2)!=-1
|
57 |
c=1
|
58 |
break
|
59 |
if c:#
|
|
|
53 |
for l in corpus:
|
54 |
c=0
|
55 |
for l2 in indicator_list:
|
56 |
+
if l.find(l2)!=-1: ### then it is a substring
|
57 |
c=1
|
58 |
break
|
59 |
if c:#
|