Update modules/studentact/current_situation_analysis.py
Browse files
modules/studentact/current_situation_analysis.py
CHANGED
@@ -820,6 +820,7 @@ def generate_sentence_graphs(doc):
|
|
820 |
plt.close()
|
821 |
return fig
|
822 |
|
|
|
823 |
def generate_word_connections(doc):
|
824 |
"""Genera red de conexiones de palabras"""
|
825 |
fig, ax = plt.subplots(figsize=(10, 6))
|
@@ -827,6 +828,7 @@ def generate_word_connections(doc):
|
|
827 |
plt.close()
|
828 |
return fig
|
829 |
|
|
|
830 |
def generate_connection_paths(doc):
|
831 |
"""Genera patrones de conexi贸n"""
|
832 |
fig, ax = plt.subplots(figsize=(10, 6))
|
@@ -834,6 +836,7 @@ def generate_connection_paths(doc):
|
|
834 |
plt.close()
|
835 |
return fig
|
836 |
|
|
|
837 |
def create_vocabulary_network(doc):
|
838 |
"""
|
839 |
Genera el grafo de red de vocabulario.
|
@@ -880,6 +883,7 @@ def create_vocabulary_network(doc):
|
|
880 |
plt.axis('off')
|
881 |
return fig
|
882 |
|
|
|
883 |
def create_syntax_complexity_graph(doc):
|
884 |
"""
|
885 |
Genera el diagrama de arco de complejidad sint谩ctica.
|
@@ -959,7 +963,7 @@ def create_syntax_complexity_graph(doc):
|
|
959 |
logger.error(f"Error en create_syntax_complexity_graph: {str(e)}")
|
960 |
return None
|
961 |
|
962 |
-
|
963 |
def create_cohesion_heatmap(doc):
|
964 |
"""Genera un mapa de calor que muestra la cohesi贸n entre p谩rrafos/oraciones."""
|
965 |
try:
|
|
|
820 |
plt.close()
|
821 |
return fig
|
822 |
|
823 |
+
############################################################################
|
824 |
def generate_word_connections(doc):
|
825 |
"""Genera red de conexiones de palabras"""
|
826 |
fig, ax = plt.subplots(figsize=(10, 6))
|
|
|
828 |
plt.close()
|
829 |
return fig
|
830 |
|
831 |
+
############################################################################
|
832 |
def generate_connection_paths(doc):
|
833 |
"""Genera patrones de conexi贸n"""
|
834 |
fig, ax = plt.subplots(figsize=(10, 6))
|
|
|
836 |
plt.close()
|
837 |
return fig
|
838 |
|
839 |
+
############################################################################
|
840 |
def create_vocabulary_network(doc):
|
841 |
"""
|
842 |
Genera el grafo de red de vocabulario.
|
|
|
883 |
plt.axis('off')
|
884 |
return fig
|
885 |
|
886 |
+
############################################################################
|
887 |
def create_syntax_complexity_graph(doc):
|
888 |
"""
|
889 |
Genera el diagrama de arco de complejidad sint谩ctica.
|
|
|
963 |
logger.error(f"Error en create_syntax_complexity_graph: {str(e)}")
|
964 |
return None
|
965 |
|
966 |
+
############################################################################
|
967 |
def create_cohesion_heatmap(doc):
|
968 |
"""Genera un mapa de calor que muestra la cohesi贸n entre p谩rrafos/oraciones."""
|
969 |
try:
|