Update modules/morpho_analysis.py
Browse files
modules/morpho_analysis.py
CHANGED
@@ -105,7 +105,7 @@ def highlight_repeated_words(doc, word_colors):
|
|
105 |
return ' '.join(highlighted_text)
|
106 |
|
107 |
#################################################################################################
|
108 |
-
|
109 |
sentences = list(doc.sents)
|
110 |
arc_diagrams = []
|
111 |
for sent in sentences:
|
|
|
105 |
return ' '.join(highlighted_text)
|
106 |
|
107 |
#################################################################################################
|
108 |
+
def generate_arc_diagram(doc, lang_code):
|
109 |
sentences = list(doc.sents)
|
110 |
arc_diagrams = []
|
111 |
for sent in sentences:
|