diff --git a/.gitignore b/.gitignore index 8523427..4a822d0 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ lib/newstag.egg-info build/ dist/ +.eggs/ diff --git a/lib/newstag/__init__.py b/lib/newstag/__init__.py index a153014..8f9a59a 100644 --- a/lib/newstag/__init__.py +++ b/lib/newstag/__init__.py @@ -1,4 +1,4 @@ from . import utils from . import crimetype -__version__ = '0.0.2' +__version__ = '0.0.5' diff --git a/lib/newstag/crimetype/benchmark.py b/lib/newstag/crimetype/benchmark.py index 0d714ca..0821612 100644 --- a/lib/newstag/crimetype/benchmark.py +++ b/lib/newstag/crimetype/benchmark.py @@ -1,4 +1,4 @@ -from __future__ import division +from __future__ import division, print_function import numpy as np import pandas as pd diff --git a/lib/newstag/crimetype/tag.py b/lib/newstag/crimetype/tag.py index fb30119..6e8bea2 100644 --- a/lib/newstag/crimetype/tag.py +++ b/lib/newstag/crimetype/tag.py @@ -14,7 +14,7 @@ """ MODEL_LOCATION = os.path.join(os.path.split(__file__)[0], - 'models/binary_stemmed_logistic/') + os.path.join('models', 'binary_stemmed_logistic')) TAGS = ['OEMC', 'CPD', 'SAO', 'CCCC', 'CCJ', 'CCSP', 'CPUB', 'IDOC', 'DOMV', 'SEXA', 'POLB', 'POLM', diff --git a/setup.py b/setup.py index d1abdae..6876383 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ def run(self): nltk.download(nltk_package) setup(name='newstag', - version='0.0.2', + version='0.0.5', description='automatically tag articles with justice-related categories', author='Kevin Rose', url='https://github.com/chicago-justice-project/article-tagging',