Update modules/semantic_analysis.py
Browse files
modules/semantic_analysis.py
CHANGED
|
@@ -169,7 +169,7 @@ def extract_entities(doc, lang):
|
|
| 169 |
|
| 170 |
# Add a legend
|
| 171 |
# legend_elements = [plt.Rectangle((0,0),1,1,fc=color, edgecolor='none', label=category)
|
| 172 |
-
for category, color in color_map.items()]
|
| 173 |
# plt.legend(handles=legend_elements, loc='upper left', bbox_to_anchor=(1, 1), fontsize=16) # Increased legend font size
|
| 174 |
|
| 175 |
# plt.title("Análisis del Contexto" if lang == 'es' else "Context Analysis" if lang == 'en' else "Analyse du Contexte", fontsize=24) # Increased title font size
|
|
|
|
| 169 |
|
| 170 |
# Add a legend
|
| 171 |
# legend_elements = [plt.Rectangle((0,0),1,1,fc=color, edgecolor='none', label=category)
|
| 172 |
+
# for category, color in color_map.items()]
|
| 173 |
# plt.legend(handles=legend_elements, loc='upper left', bbox_to_anchor=(1, 1), fontsize=16) # Increased legend font size
|
| 174 |
|
| 175 |
# plt.title("Análisis del Contexto" if lang == 'es' else "Context Analysis" if lang == 'en' else "Analyse du Contexte", fontsize=24) # Increased title font size
|