AIdeaText commited on
Commit
6ca43ec
1 Parent(s): ee5caf5

Update modules/text_analysis/__init__.py

Browse files
Files changed (1) hide show
  1. modules/text_analysis/__init__.py +28 -1
modules/text_analysis/__init__.py CHANGED
@@ -1,4 +1,11 @@
1
  # modules/text_analysis/__init__.py
 
 
 
 
 
 
 
2
  from .morpho_analysis import (
3
  perform_advanced_morphosyntactic_analysis,
4
  get_repeated_words_colors,
@@ -11,6 +18,24 @@ from .morpho_analysis import (
11
  POS_TRANSLATIONS
12
  )
13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  __all__ = [
15
  'perform_advanced_morphosyntactic_analysis',
16
  'get_repeated_words_colors',
@@ -21,4 +46,6 @@ __all__ = [
21
  'get_sentence_structure_analysis',
22
  'POS_COLORS',
23
  'POS_TRANSLATIONS'
24
- ]
 
 
 
1
  # modules/text_analysis/__init__.py
2
+ import logging
3
+
4
+ logging.basicConfig(
5
+ level=logging.INFO,
6
+ format='%(asctime)s - %(name)s - %(levelname)s - %(message)s'
7
+ )
8
+
9
  from .morpho_analysis import (
10
  perform_advanced_morphosyntactic_analysis,
11
  get_repeated_words_colors,
 
18
  POS_TRANSLATIONS
19
  )
20
 
21
+ from .semantic_analysis import (
22
+ create_concept_graph,
23
+ visualize_concept_graph,
24
+ identify_key_concepts,
25
+ get_stopwords
26
+ )
27
+
28
+ from .discourse_analysis import perform_discourse_analysis
29
+
30
+ __all__ = [
31
+ 'perform_discourse_analysis',
32
+ 'create_concept_graph',
33
+ 'visualize_concept_graph',
34
+ 'identify_key_concepts',
35
+ 'get_stopwords'
36
+ ]
37
+
38
+
39
  __all__ = [
40
  'perform_advanced_morphosyntactic_analysis',
41
  'get_repeated_words_colors',
 
46
  'get_sentence_structure_analysis',
47
  'POS_COLORS',
48
  'POS_TRANSLATIONS'
49
+ ]
50
+
51
+