Update modules/__init__.py
Browse files- modules/__init__.py +54 -10
modules/__init__.py
CHANGED
@@ -1,17 +1,61 @@
|
|
1 |
# modules/__init__.py
|
|
|
2 |
from .auth import authenticate_user, register_user, get_user_role
|
3 |
-
from .database import
|
4 |
-
|
5 |
-
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
from .spacy_utils import load_spacy_models
|
8 |
|
9 |
__all__ = [
|
10 |
-
'authenticate_user',
|
11 |
-
'
|
12 |
-
'
|
13 |
-
'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
'display_student_progress',
|
15 |
-
'get_repeated_words_colors',
|
16 |
-
'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
]
|
|
|
1 |
# modules/__init__.py
|
2 |
+
|
3 |
from .auth import authenticate_user, register_user, get_user_role
|
4 |
+
from .database import (
|
5 |
+
initialize_mongodb_connection,
|
6 |
+
get_student_data,
|
7 |
+
store_morphosyntax_result,
|
8 |
+
store_semantic_result
|
9 |
+
)
|
10 |
+
from .ui import (
|
11 |
+
login_register_page,
|
12 |
+
login_form,
|
13 |
+
register_form,
|
14 |
+
display_chat_interface,
|
15 |
+
display_student_progress,
|
16 |
+
display_morphosyntax_analysis_interface,
|
17 |
+
display_semantic_analysis_interface,
|
18 |
+
display_discourse_analysis_interface # Nueva funci贸n
|
19 |
+
)
|
20 |
+
from .morpho_analysis import (
|
21 |
+
get_repeated_words_colors,
|
22 |
+
highlight_repeated_words,
|
23 |
+
POS_COLORS,
|
24 |
+
POS_TRANSLATIONS
|
25 |
+
)
|
26 |
+
from .semantic_analysis import (
|
27 |
+
visualize_semantic_relations,
|
28 |
+
perform_semantic_analysis
|
29 |
+
)
|
30 |
+
from .discourse_analysis import ( # Nuevo m贸dulo
|
31 |
+
perform_discourse_analysis,
|
32 |
+
compare_semantic_analysis
|
33 |
+
)
|
34 |
from .spacy_utils import load_spacy_models
|
35 |
|
36 |
__all__ = [
|
37 |
+
'authenticate_user',
|
38 |
+
'register_user',
|
39 |
+
'get_user_role',
|
40 |
+
'initialize_mongodb_connection',
|
41 |
+
'get_student_data',
|
42 |
+
'store_morphosyntax_result',
|
43 |
+
'store_semantic_result',
|
44 |
+
'login_register_page',
|
45 |
+
'login_form',
|
46 |
+
'register_form',
|
47 |
+
'display_chat_interface',
|
48 |
+
'display_morphosyntax_analysis_interface',
|
49 |
+
'display_semantic_analysis_interface',
|
50 |
+
'display_discourse_analysis_interface', # Nueva funci贸n
|
51 |
'display_student_progress',
|
52 |
+
'get_repeated_words_colors',
|
53 |
+
'highlight_repeated_words',
|
54 |
+
'POS_COLORS',
|
55 |
+
'POS_TRANSLATIONS',
|
56 |
+
'visualize_semantic_relations',
|
57 |
+
'perform_semantic_analysis',
|
58 |
+
'perform_discourse_analysis', # Nueva funci贸n
|
59 |
+
'compare_semantic_analysis', # Nueva funci贸n
|
60 |
+
'load_spacy_models'
|
61 |
]
|