From 6ef81c1c190e271063d1b3073f91996d77036c40 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 3 Feb 2023 23:27:44 +0100 Subject: [PATCH] New version working nicely --- .idea/inspectionProfiles/Project_Default.xml | 32 +++++ README.md | 4 +- unimore_bda_6/__main__.py | 101 ++++---------- unimore_bda_6/analysis/__init__.py | 6 +- unimore_bda_6/analysis/base.py | 56 ++++---- unimore_bda_6/analysis/nltk_sentiment.py | 123 +++++++++++++++++ unimore_bda_6/analysis/vanilla.py | 126 ------------------ unimore_bda_6/database.py | 66 +++++++-- unimore_bda_6/log.py | 6 +- unimore_bda_6/tokenization/__init__.py | 15 --- unimore_bda_6/tokenization/nltk_based.py | 16 --- unimore_bda_6/tokenizer/__init__.py | 10 ++ unimore_bda_6/tokenizer/base.py | 17 +++ unimore_bda_6/tokenizer/nltk_word_tokenize.py | 21 +++ .../potts_based.py => tokenizer/potts.py} | 88 ++++++------ 15 files changed, 371 insertions(+), 316 deletions(-) create mode 100644 unimore_bda_6/analysis/nltk_sentiment.py delete mode 100644 unimore_bda_6/analysis/vanilla.py delete mode 100644 unimore_bda_6/tokenization/__init__.py delete mode 100644 unimore_bda_6/tokenization/nltk_based.py create mode 100644 unimore_bda_6/tokenizer/__init__.py create mode 100644 unimore_bda_6/tokenizer/base.py create mode 100644 unimore_bda_6/tokenizer/nltk_word_tokenize.py rename unimore_bda_6/{tokenization/potts_based.py => tokenizer/potts.py} (71%) diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index 839eb2c..0465530 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -1,12 +1,44 @@