File size: 2,381 Bytes
995ef83
7f99ac0
b00aee5
ffcb906
b00aee5
e30424a
 
8739d4d
e30424a
b88776c
1141e33
83d3eaf
a9241c4
 
7f99ac0
ffcb906
b00aee5
b6fd8af
e30424a
 
 
b5890ac
e30424a
 
7f99ac0
fc1a980
e30424a
7f99ac0
ffcb906
b00aee5
ffcb906
b00aee5
e30424a
 
 
7f99ac0
 
ffcb906
b00aee5
e30424a
fc1a980
 
7f99ac0
ffcb906
b00aee5
7f99ac0
 
 
ffcb906
b00aee5
ffcb906
b00aee5
fc1a980
 
e30424a
fc1a980
995ef83
 
7f99ac0
 
 
 
 
 
1141e33
b88776c
a9241c4
 
b5890ac
7f99ac0
 
 
b5890ac
 
7f99ac0
 
fc1a980
e30424a
67ccc01
7f99ac0
 
 
 
 
 
fc1a980
 
 
 
e30424a
b5890ac
 
e30424a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# modules/__init__.py

from ..modules.auth.auth import authenticate_user, register_user

from ..modules.database.database import (
    initialize_mongodb_connection,
    get_student_data,
    store_application_request,
    store_morphosyntax_result,
    store_semantic_result,
    store_discourse_analysis_result,
    store_chat_history,
    create_admin_user,
    create_student_user
)

from ..modules.ui.ui import (
    main,
    login_register_page,
    login_form,
    register_form,
    user_page,
    display_student_progress,
    display_morphosyntax_analysis_interface,
    display_semantic_analysis_interface,
    display_discourse_analysis_interface,
    display_chatbot_interface
)

from ..modules.admin.admin_ui import admin_page  # Añade esta línea

from ..modules.analysis_text.morpho_analysis import (
    get_repeated_words_colors,
    highlight_repeated_words,
    POS_COLORS,
    POS_TRANSLATIONS
)

from ..modules.analysis_text.semantic_analysis import (
    visualize_semantic_relations,
    perform_semantic_analysis,
    create_semantic_graph
)

from ..modules.analysis_text.discourse_analysis import (
    perform_discourse_analysis,
    compare_semantic_analysis
)

from ..modules.utils.spacy_utils import load_spacy_models

from ..modules.chatbot.chatbot import (
    initialize_chatbot,
    get_chatbot_response,
    ClaudeAPIChat  # Nueva clase
)

__all__ = [
    'authenticate_user',
    'register_user',
    'initialize_mongodb_connection',
    'get_student_data',
    'store_morphosyntax_result',
    'store_semantic_result',
    'store_discourse_analysis_result',
    'store_chat_history',
    'create_admin_user',
    'create_student_user',
    'main',
    'login_register_page',
    'login_form',
    'register_form',
    'user_page',
    'admin_page',  # Añade esta línea
    'display_morphosyntax_analysis_interface',
    'display_semantic_analysis_interface',
    'display_discourse_analysis_interface',
    'display_chatbot_interface',
    'display_student_progress',
    'get_repeated_words_colors',
    'highlight_repeated_words',
    'POS_COLORS',
    'POS_TRANSLATIONS',
    'visualize_semantic_relations',
    'perform_semantic_analysis',
    'create_semantic_graph',
    'perform_discourse_analysis',
    'compare_semantic_analysis',
    'load_spacy_models',
    'initialize_chatbot',
    'get_chatbot_response',
    'ClaudeAPIChat'
]