AIdeaText commited on
Commit
b5d37fc
·
verified ·
1 Parent(s): 9e80a23

Update modules/text_analysis/morpho_analysis.py

Browse files
modules/text_analysis/morpho_analysis.py CHANGED
@@ -116,7 +116,7 @@ def highlight_repeated_words(doc, word_colors):
116
  return ' '.join(highlighted_text)
117
 
118
  #################################################################################################
119
- def generate_arc_diagram(doc, lang_code):
120
  arc_diagrams = []
121
  for sent in doc.sents:
122
  words = [token.text for token in sent]
 
116
  return ' '.join(highlighted_text)
117
 
118
  #################################################################################################
119
+ def generate_arc_diagram(doc):
120
  arc_diagrams = []
121
  for sent in doc.sents:
122
  words = [token.text for token in sent]