ningrumdaud commited on
Commit
7eb0562
·
verified ·
1 Parent(s): f1dfc53

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -173,8 +173,11 @@ def visualize_cognitive_map(formatted_results):
173
  # Use the functions
174
  extractor = NounExtractor(nlp=nlp)
175
 
176
- words_list = ["so", "because", "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):
 
173
  # Use the functions
174
  extractor = NounExtractor(nlp=nlp)
175
 
176
+ extractor = NounExtractor(nlp=nlp)
177
+
178
+ # Example of how to use this function
179
+ words_list = ["so", "because", "increase", "contribute", "due to"]
180
+ action_verb = ['affect', 'influence', 'increase', 'against']
181
 
182
  # Define the callback function for the GUI
183
  def CogMapAnalysis(text):