ningrumdaud commited on
Commit
42eee96
·
verified ·
1 Parent(s): 39a48e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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):