AIdeaText commited on
Commit
6fb893b
·
verified ·
1 Parent(s): df8b9a0

Update modules/text_analysis/semantic_analysis.py

Browse files
modules/text_analysis/semantic_analysis.py CHANGED
@@ -10,15 +10,16 @@ import base64
10
  from collections import Counter, defaultdict
11
  from sklearn.feature_extraction.text import TfidfVectorizer
12
  from sklearn.metrics.pairwise import cosine_similarity
 
13
  import logging
 
 
14
  from .stopwords import (
15
  process_text,
16
  get_custom_stopwords,
17
  get_stopwords_for_spacy
18
  )
19
 
20
- logger = logging.getLogger(__name__)
21
-
22
 
23
  # Define colors for grammatical categories
24
  POS_COLORS = {
 
10
  from collections import Counter, defaultdict
11
  from sklearn.feature_extraction.text import TfidfVectorizer
12
  from sklearn.metrics.pairwise import cosine_similarity
13
+
14
  import logging
15
+ logger = logging.getLogger(__name__)
16
+
17
  from .stopwords import (
18
  process_text,
19
  get_custom_stopwords,
20
  get_stopwords_for_spacy
21
  )
22
 
 
 
23
 
24
  # Define colors for grammatical categories
25
  POS_COLORS = {