From e831faa86b4b08bcc0e0c9c85a5b473ae2049602 Mon Sep 17 00:00:00 2001 From: josh herzberg Date: Tue, 5 Nov 2019 19:14:10 -0600 Subject: [PATCH] add imports, bucket --- lib/tagnews/__init__.py | 3 ++- lib/tagnews/senteval/eval.py | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/tagnews/__init__.py b/lib/tagnews/__init__.py index 57e80e0..dc14179 100644 --- a/lib/tagnews/__init__.py +++ b/lib/tagnews/__init__.py @@ -5,8 +5,9 @@ from .geoloc.tag import GeoCoder, get_lat_longs_from_geostrings from .utils.load_data import load_data from .utils.load_vectorizer import load_glove +from .senteval.eval import SentimentGoogler -__all__ = [utils, crimetype, CrimeTags, GeoCoder, +__all__ = [utils, crimetype, CrimeTags, GeoCoder, SentimentGoogler, get_lat_longs_from_geostrings, load_data, load_glove] __version__ = '1.2.4' diff --git a/lib/tagnews/senteval/eval.py b/lib/tagnews/senteval/eval.py index 3cb9670..0779aa5 100644 --- a/lib/tagnews/senteval/eval.py +++ b/lib/tagnews/senteval/eval.py @@ -66,6 +66,8 @@ def is_police_entity(self, entity): return entity return False + def set_bucket_value(self): + pass def pre_process_text(html_text): """