Spaces:
Sleeping
Sleeping
Update modules/text_analysis/semantic_analysis.py
Browse files
modules/text_analysis/semantic_analysis.py
CHANGED
|
@@ -11,7 +11,11 @@ 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 |
|
| 16 |
logger = logging.getLogger(__name__)
|
| 17 |
|
|
|
|
| 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 |
|