Update modules/text_analysis/discourse_analysis.py
Browse files
modules/text_analysis/discourse_analysis.py
CHANGED
|
@@ -49,8 +49,8 @@ def perform_discourse_analysis(text1, text2, nlp, lang):
|
|
| 49 |
return {
|
| 50 |
'graph1': graph1,
|
| 51 |
'graph2': graph2,
|
| 52 |
-
'
|
| 53 |
-
'
|
| 54 |
}
|
| 55 |
|
| 56 |
def display_discourse_analysis_results(analysis_result, lang_code):
|
|
|
|
| 49 |
return {
|
| 50 |
'graph1': graph1,
|
| 51 |
'graph2': graph2,
|
| 52 |
+
'key_concepts1': key_concepts1,
|
| 53 |
+
'key_concepts2': key_concepts2
|
| 54 |
}
|
| 55 |
|
| 56 |
def display_discourse_analysis_results(analysis_result, lang_code):
|