From 119483594ac83eb2322fa39a40559144c7e8c6f9 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 13 Feb 2023 15:59:03 +0100 Subject: [PATCH] Remove unused imports --- unimore_bda_6/analysis/nltk_sentiment.py | 2 -- unimore_bda_6/database/queries.py | 1 - 2 files changed, 3 deletions(-) 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__)