AIdeaText commited on
Commit
6d18d68
verified
1 Parent(s): c168541

Update modules/semantic/semantic_process.py

Browse files
modules/semantic/semantic_process.py CHANGED
@@ -5,15 +5,19 @@ import io
5
  import base64
6
  import logging
7
 
 
8
  from ..text_analysis.semantic_analysis import (
9
  perform_semantic_analysis,
10
  identify_key_concepts,
11
  create_concept_graph,
12
  visualize_concept_graph
13
  )
14
- from ..database.semantic_mongo_db import store_student_semantic_result
15
 
 
 
 
16
  logger = logging.getLogger(__name__)
 
17
 
18
  def process_semantic_input(text, lang_code, nlp_models, t, semantic_t):
19
  """
@@ -67,6 +71,8 @@ def process_semantic_input(text, lang_code, nlp_models, t, semantic_t):
67
  'analysis': None
68
  }
69
 
 
 
70
  def format_semantic_results(analysis_result, t):
71
  """
72
  Formatea los resultados del an谩lisis para su visualizaci贸n.
 
5
  import base64
6
  import logging
7
 
8
+ ##############################################################
9
  from ..text_analysis.semantic_analysis import (
10
  perform_semantic_analysis,
11
  identify_key_concepts,
12
  create_concept_graph,
13
  visualize_concept_graph
14
  )
 
15
 
16
+ ##############################################################################
17
+ from ..database.semantic_mongo_db import store_student_semantic_result
18
+ #####################################################################
19
  logger = logging.getLogger(__name__)
20
+ #########################################################
21
 
22
  def process_semantic_input(text, lang_code, nlp_models, t, semantic_t):
23
  """
 
71
  'analysis': None
72
  }
73
 
74
+
75
+ ##################################################################################
76
  def format_semantic_results(analysis_result, t):
77
  """
78
  Formatea los resultados del an谩lisis para su visualizaci贸n.