Spaces:
Sleeping
Sleeping
Update modules/morphosyntax/morphosyntax_process.py
Browse files
modules/morphosyntax/morphosyntax_process.py
CHANGED
|
@@ -11,20 +11,6 @@ from ..text_analysis.morpho_analysis import (
|
|
| 11 |
perform_advanced_morphosyntactic_analysis
|
| 12 |
)
|
| 13 |
|
| 14 |
-
# Re-exportar las funciones y constantes necesarias
|
| 15 |
-
__all__ = [
|
| 16 |
-
'process_morphosyntactic_input',
|
| 17 |
-
'highlight_repeated_words',
|
| 18 |
-
'generate_arc_diagram',
|
| 19 |
-
'get_repeated_words_colors',
|
| 20 |
-
'get_detailed_pos_analysis',
|
| 21 |
-
'get_morphological_analysis',
|
| 22 |
-
'get_sentence_structure_analysis',
|
| 23 |
-
'perform_advanced_morphosyntactic_analysis',
|
| 24 |
-
'POS_COLORS',
|
| 25 |
-
'POS_TRANSLATIONS'
|
| 26 |
-
]
|
| 27 |
-
|
| 28 |
from ..database.morphosintax_mongo_db import store_student_morphosyntax_result
|
| 29 |
|
| 30 |
import logging
|
|
@@ -129,4 +115,16 @@ def format_analysis_results(analysis_result, t):
|
|
| 129 |
'highlighted_text': analysis_result['highlighted_text']
|
| 130 |
}
|
| 131 |
|
| 132 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
perform_advanced_morphosyntactic_analysis
|
| 12 |
)
|
| 13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
from ..database.morphosintax_mongo_db import store_student_morphosyntax_result
|
| 15 |
|
| 16 |
import logging
|
|
|
|
| 115 |
'highlighted_text': analysis_result['highlighted_text']
|
| 116 |
}
|
| 117 |
|
| 118 |
+
# Re-exportar las funciones y constantes necesarias
|
| 119 |
+
__all__ = [
|
| 120 |
+
'process_morphosyntactic_input',
|
| 121 |
+
'highlight_repeated_words',
|
| 122 |
+
'generate_arc_diagram',
|
| 123 |
+
'get_repeated_words_colors',
|
| 124 |
+
'get_detailed_pos_analysis',
|
| 125 |
+
'get_morphological_analysis',
|
| 126 |
+
'get_sentence_structure_analysis',
|
| 127 |
+
'perform_advanced_morphosyntactic_analysis',
|
| 128 |
+
'POS_COLORS',
|
| 129 |
+
'POS_TRANSLATIONS'
|
| 130 |
+
]
|