Update modules/__init__.py
Browse files- modules/__init__.py +21 -8
modules/__init__.py
CHANGED
|
@@ -15,7 +15,8 @@ from .ui import (
|
|
| 15 |
display_student_progress,
|
| 16 |
display_morphosyntax_analysis_interface,
|
| 17 |
display_semantic_analysis_interface,
|
| 18 |
-
display_discourse_analysis_interface
|
|
|
|
| 19 |
)
|
| 20 |
from .morpho_analysis import (
|
| 21 |
get_repeated_words_colors,
|
|
@@ -25,13 +26,19 @@ from .morpho_analysis import (
|
|
| 25 |
)
|
| 26 |
from .semantic_analysis import (
|
| 27 |
visualize_semantic_relations,
|
| 28 |
-
perform_semantic_analysis
|
|
|
|
| 29 |
)
|
| 30 |
-
from .discourse_analysis import (
|
| 31 |
perform_discourse_analysis,
|
| 32 |
compare_semantic_analysis
|
| 33 |
)
|
| 34 |
from .spacy_utils import load_spacy_models
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
__all__ = [
|
| 37 |
'authenticate_user',
|
|
@@ -47,7 +54,8 @@ __all__ = [
|
|
| 47 |
'display_chat_interface',
|
| 48 |
'display_morphosyntax_analysis_interface',
|
| 49 |
'display_semantic_analysis_interface',
|
| 50 |
-
'display_discourse_analysis_interface',
|
|
|
|
| 51 |
'display_student_progress',
|
| 52 |
'get_repeated_words_colors',
|
| 53 |
'highlight_repeated_words',
|
|
@@ -55,7 +63,12 @@ __all__ = [
|
|
| 55 |
'POS_TRANSLATIONS',
|
| 56 |
'visualize_semantic_relations',
|
| 57 |
'perform_semantic_analysis',
|
| 58 |
-
'
|
| 59 |
-
'
|
| 60 |
-
'
|
| 61 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
display_student_progress,
|
| 16 |
display_morphosyntax_analysis_interface,
|
| 17 |
display_semantic_analysis_interface,
|
| 18 |
+
display_discourse_analysis_interface,
|
| 19 |
+
display_chatbot_interface # Nueva funci贸n
|
| 20 |
)
|
| 21 |
from .morpho_analysis import (
|
| 22 |
get_repeated_words_colors,
|
|
|
|
| 26 |
)
|
| 27 |
from .semantic_analysis import (
|
| 28 |
visualize_semantic_relations,
|
| 29 |
+
perform_semantic_analysis,
|
| 30 |
+
create_semantic_graph
|
| 31 |
)
|
| 32 |
+
from .discourse_analysis import (
|
| 33 |
perform_discourse_analysis,
|
| 34 |
compare_semantic_analysis
|
| 35 |
)
|
| 36 |
from .spacy_utils import load_spacy_models
|
| 37 |
+
from .chatbot import ( # Nuevo m贸dulo
|
| 38 |
+
initialize_chatbot,
|
| 39 |
+
get_chatbot_response,
|
| 40 |
+
Llama2Chatbot
|
| 41 |
+
)
|
| 42 |
|
| 43 |
__all__ = [
|
| 44 |
'authenticate_user',
|
|
|
|
| 54 |
'display_chat_interface',
|
| 55 |
'display_morphosyntax_analysis_interface',
|
| 56 |
'display_semantic_analysis_interface',
|
| 57 |
+
'display_discourse_analysis_interface',
|
| 58 |
+
'display_chatbot_interface', # Nueva funci贸n
|
| 59 |
'display_student_progress',
|
| 60 |
'get_repeated_words_colors',
|
| 61 |
'highlight_repeated_words',
|
|
|
|
| 63 |
'POS_TRANSLATIONS',
|
| 64 |
'visualize_semantic_relations',
|
| 65 |
'perform_semantic_analysis',
|
| 66 |
+
'create_semantic_graph',
|
| 67 |
+
'perform_discourse_analysis',
|
| 68 |
+
'compare_semantic_analysis',
|
| 69 |
+
'load_spacy_models',
|
| 70 |
+
'initialize_chatbot', # Nueva funci贸n
|
| 71 |
+
'get_chatbot_response', # Nueva funci贸n
|
| 72 |
+
'Llama2Chatbot' # Nueva clase
|
| 73 |
+
]
|
| 74 |
+
|