Update modules/morphosyntax/morphosyntax_process.py
Browse files
modules/morphosyntax/morphosyntax_process.py
CHANGED
@@ -2,9 +2,10 @@
|
|
2 |
import streamlit as st
|
3 |
|
4 |
from ..text_analysis.morpho_analysis import (
|
5 |
-
|
6 |
highlight_repeated_words,
|
7 |
generate_arc_diagram,
|
|
|
8 |
get_detailed_pos_analysis,
|
9 |
get_morphological_analysis,
|
10 |
get_sentence_structure_analysis,
|
@@ -13,6 +14,20 @@ from ..text_analysis.morpho_analysis import (
|
|
13 |
POS_TRANSLATIONS
|
14 |
)
|
15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
from ..database.morphosintax_mongo_db import store_student_morphosyntax_result
|
17 |
|
18 |
import logging
|
|
|
2 |
import streamlit as st
|
3 |
|
4 |
from ..text_analysis.morpho_analysis import (
|
5 |
+
process_morphosyntactic_input,
|
6 |
highlight_repeated_words,
|
7 |
generate_arc_diagram,
|
8 |
+
get_repeated_words_colors,
|
9 |
get_detailed_pos_analysis,
|
10 |
get_morphological_analysis,
|
11 |
get_sentence_structure_analysis,
|
|
|
14 |
POS_TRANSLATIONS
|
15 |
)
|
16 |
|
17 |
+
# Re-exportar las funciones y constantes necesarias
|
18 |
+
__all__ = [
|
19 |
+
'process_morphosyntactic_input',
|
20 |
+
'highlight_repeated_words',
|
21 |
+
'generate_arc_diagram',
|
22 |
+
'get_repeated_words_colors',
|
23 |
+
'get_detailed_pos_analysis',
|
24 |
+
'get_morphological_analysis',
|
25 |
+
'get_sentence_structure_analysis',
|
26 |
+
'perform_advanced_morphosyntactic_analysis',
|
27 |
+
'POS_COLORS',
|
28 |
+
'POS_TRANSLATIONS'
|
29 |
+
]
|
30 |
+
|
31 |
from ..database.morphosintax_mongo_db import store_student_morphosyntax_result
|
32 |
|
33 |
import logging
|