Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -114,7 +114,7 @@ def conc(text_Party,strng):
|
|
114 |
s=result.getvalue().splitlines()
|
115 |
return result.getvalue()
|
116 |
|
117 |
-
def get_all_phases_containing_tar_wrd(target_word, tar_passage, left_margin = 10, right_margin = 10,numLins=
|
118 |
"""
|
119 |
Function to get all the phases that contain the target word in a text/passage tar_passage.
|
120 |
Workaround to save the output given by nltk Concordance function
|
|
|
114 |
s=result.getvalue().splitlines()
|
115 |
return result.getvalue()
|
116 |
|
117 |
+
def get_all_phases_containing_tar_wrd(target_word, tar_passage, left_margin = 10, right_margin = 10,numLins=6):
|
118 |
"""
|
119 |
Function to get all the phases that contain the target word in a text/passage tar_passage.
|
120 |
Workaround to save the output given by nltk Concordance function
|