Update modules/text_analysis/discourse_analysis.py
Browse files
modules/text_analysis/discourse_analysis.py
CHANGED
|
@@ -14,15 +14,18 @@ from collections import Counter, defaultdict
|
|
| 14 |
import logging
|
| 15 |
|
| 16 |
|
|
|
|
| 17 |
logger = logging.getLogger(__name__)
|
| 18 |
|
|
|
|
| 19 |
from .semantic_analysis import (
|
| 20 |
create_concept_graph,
|
| 21 |
visualize_concept_graph,
|
| 22 |
-
identify_key_concepts,
|
| 23 |
-
|
| 24 |
)
|
| 25 |
|
|
|
|
| 26 |
from .stopwords import (
|
| 27 |
get_custom_stopwords,
|
| 28 |
process_text,
|
|
|
|
| 14 |
import logging
|
| 15 |
|
| 16 |
|
| 17 |
+
logging.basicConfig(level=logging.INFO)
|
| 18 |
logger = logging.getLogger(__name__)
|
| 19 |
|
| 20 |
+
|
| 21 |
from .semantic_analysis import (
|
| 22 |
create_concept_graph,
|
| 23 |
visualize_concept_graph,
|
| 24 |
+
identify_key_concepts,
|
| 25 |
+
fig_to_bytes
|
| 26 |
)
|
| 27 |
|
| 28 |
+
|
| 29 |
from .stopwords import (
|
| 30 |
get_custom_stopwords,
|
| 31 |
process_text,
|