AIdeaText commited on
Commit
addad29
·
verified ·
1 Parent(s): a805ad1

Update modules/__init__.py

Browse files
Files changed (1) hide show
  1. modules/__init__.py +19 -0
modules/__init__.py CHANGED
@@ -90,6 +90,24 @@ def load_morphosyntax_functions():
90
  'perform_advanced_morphosyntactic_analysis': perform_advanced_morphosyntactic_analysis
91
  }
92
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  def load_admin_functions():
94
  from .admin.admin_ui import admin_page
95
  return {
@@ -117,6 +135,7 @@ def load_all_functions():
117
  # **load_ui_functions(),
118
  **load_admin_functions(),
119
  **load_morphosyntax_functions(),
 
120
  **load_utils_functions(),
121
  **load_chatbot_functions(),
122
  **load_student_activities_functions()
 
90
  'perform_advanced_morphosyntactic_analysis': perform_advanced_morphosyntactic_analysis
91
  }
92
 
93
+ def load_semantic_functions()
94
+ from modules.semantic.semantic_interface import (
95
+ display_semantic_interface,
96
+ display_semantic_results
97
+ )
98
+ from modules.semantic.semantic_process import (
99
+ process_semantic_input,
100
+ format_semantic_results
101
+ )
102
+
103
+ return {
104
+ 'display_semantic_interface': display_semantic_interface,
105
+ 'display_semantic_results': display_semantic_results,
106
+ 'process_semantic_input': process_semantic_input,
107
+ 'format_semantic_results': format_analysis_results,
108
+ }
109
+
110
+
111
  def load_admin_functions():
112
  from .admin.admin_ui import admin_page
113
  return {
 
135
  # **load_ui_functions(),
136
  **load_admin_functions(),
137
  **load_morphosyntax_functions(),
138
+ **load_semantic_functions(),
139
  **load_utils_functions(),
140
  **load_chatbot_functions(),
141
  **load_student_activities_functions()