From 4e1a9f842f9f667396e1c793f91bb554caea978a Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 3 Feb 2023 02:10:00 +0100 Subject: [PATCH] Fix VanillaSA to work with iterators --- .idea/inspectionProfiles/Project_Default.xml | 2 + .idea/misc.xml | 3 + .idea/runConfigurations/unimore_bda_6.xml | 2 + .vscode/launch.json | 4 +- unimore_bda_6/__main__.py | 47 +++++++-------- unimore_bda_6/analysis/base.py | 2 +- unimore_bda_6/analysis/vanilla.py | 63 ++++++++++++++------ unimore_bda_6/database.py | 16 ++--- unimore_bda_6/log.py | 11 ++++ unimore_bda_6/tokenization/__init__.py | 4 +- unimore_bda_6/tokenization/nltk_based.py | 4 +- unimore_bda_6/tokenization/potts_based.py | 4 +- 12 files changed, 99 insertions(+), 63 deletions(-) diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index bc46082..78a7b4c 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -5,6 +5,8 @@ diff --git a/.idea/misc.xml b/.idea/misc.xml index c31251c..6b0faad 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -4,6 +4,9 @@