File size: 2,005 Bytes
995ef83 7f99ac0 995ef83 7f99ac0 fc1a980 7f99ac0 fc1a980 7f99ac0 fc1a980 7f99ac0 995ef83 fc1a980 995ef83 7f99ac0 fc1a980 67ccc01 7f99ac0 fc1a980 |
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 |
# modules/__init__.py
from .auth import authenticate_user, register_user, get_user_role
from .database import (
initialize_mongodb_connection,
get_student_data,
store_morphosyntax_result,
store_semantic_result
)
from .ui import (
login_register_page,
login_form,
register_form,
display_chat_interface,
display_student_progress,
display_morphosyntax_analysis_interface,
display_semantic_analysis_interface,
display_discourse_analysis_interface,
display_chatbot_interface # Nueva funci贸n
)
from .morpho_analysis import (
get_repeated_words_colors,
highlight_repeated_words,
POS_COLORS,
POS_TRANSLATIONS
)
from .semantic_analysis import (
visualize_semantic_relations,
perform_semantic_analysis,
create_semantic_graph
)
from .discourse_analysis import (
perform_discourse_analysis,
compare_semantic_analysis
)
from .spacy_utils import load_spacy_models
from .chatbot import ( # Nuevo m贸dulo
initialize_chatbot,
get_chatbot_response,
Llama2Chatbot
)
__all__ = [
'authenticate_user',
'register_user',
'get_user_role',
'initialize_mongodb_connection',
'get_student_data',
'store_morphosyntax_result',
'store_semantic_result',
'login_register_page',
'login_form',
'register_form',
'display_chat_interface',
'display_morphosyntax_analysis_interface',
'display_semantic_analysis_interface',
'display_discourse_analysis_interface',
'display_chatbot_interface', # Nueva funci贸n
'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', # Nueva funci贸n
'get_chatbot_response', # Nueva funci贸n
'Llama2Chatbot' # Nueva clase
]
|