ningrumdaud commited on
Commit
3dd06d9
·
verified ·
1 Parent(s): f64f530

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -169,11 +169,12 @@ def visualize_cognitive_map(formatted_results):
169
 
170
  return plt
171
 
 
 
172
  extractor = NounExtractor(nlp=nlp)
173
 
174
- # Example of how to use this function
175
- words_list = ["so", "because", "increase", "contribute", "due to"]
176
- causative_verb = ['affect', 'influence', 'increase', 'against']
177
 
178
  # Define the callback function for the GUI
179
  def CogMapAnalysis(text):
 
169
 
170
  return plt
171
 
172
+
173
+ # Use the functions
174
  extractor = NounExtractor(nlp=nlp)
175
 
176
+ words_list = ["so", "because", "increase", "contribute", "due to", "hence", "therefore", "as", "since"]
177
+ causative_verb = ['affect', 'influence', 'increase', 'against', "result", "lead", "drive", "cause", "make", "get", "let", "bring"]
 
178
 
179
  # Define the callback function for the GUI
180
  def CogMapAnalysis(text):