diff --git a/unimore_bda_6/analysis/nltk_sentiment.py b/unimore_bda_6/analysis/nltk_sentiment.py index 730253e..25fc310 100644 --- a/unimore_bda_6/analysis/nltk_sentiment.py +++ b/unimore_bda_6/analysis/nltk_sentiment.py @@ -4,11 +4,9 @@ import nltk.sentiment import nltk.sentiment.util import logging import typing as t -import itertools from ..database import TextReview, CachedDatasetFunc, TokenizedReview from .base import BaseSentimentAnalyzer, AlreadyTrainedError, NotTrainedError -from ..log import count_passage from ..tokenizer import BaseTokenizer log = logging.getLogger(__name__) diff --git a/unimore_bda_6/database/queries.py b/unimore_bda_6/database/queries.py index 530b96d..97e8818 100644 --- a/unimore_bda_6/database/queries.py +++ b/unimore_bda_6/database/queries.py @@ -3,7 +3,6 @@ import pymongo import typing as t from ..config import WORKING_SET_SIZE -from .collections import MongoReview from .datatypes import TextReview log = logging.getLogger(__name__)