Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -174,8 +174,8 @@ def visualize_cognitive_map(formatted_results):
|
|
174 |
extractor = NounExtractor(nlp=nlp)
|
175 |
|
176 |
# Example of how to use this function
|
177 |
-
words_list = ["so", "because", "contribute", "due to", "therefore", "as"]
|
178 |
-
causative_verb = ['affect', 'influence', 'increase', 'against', 'bring', 'lead', 'result', 'cause', 'is to', 'was to', 'are to', "were to", 'contribute']
|
179 |
|
180 |
# Define the callback function for the GUI
|
181 |
def CogMapAnalysis(text):
|
|
|
174 |
extractor = NounExtractor(nlp=nlp)
|
175 |
|
176 |
# Example of how to use this function
|
177 |
+
# words_list = ["so", "because", "contribute", "due to", "therefore", "as"]
|
178 |
+
causative_verb = ['affect', 'influence', 'increase', 'against', 'bring', 'lead', 'result', 'cause', 'is to', 'was to', 'are to', "were to", 'contribute', 'make', 'attribute']
|
179 |
|
180 |
# Define the callback function for the GUI
|
181 |
def CogMapAnalysis(text):
|