diff --git a/CHANGES.txt b/CHANGES.txt index 5b45b70..65fe504 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -6,4 +6,5 @@ v0.3.1, Mon Jul 21 -- Added __version__ to module v0.3.2, Tue Jul 22 -- Removed spam detection due to instability v0.3.3, Fri Aug 1 -- Added language detection api v0.4.0, Fri Aug 1 -- Changed api import to lowercase, added language example -v0.4.1, Fri Aug 1 -- Updated __version__ variable to be accurate \ No newline at end of file +v0.4.1, Fri Aug 1 -- Updated __version__ variable to be accurate +v0.4.2, Wed Aug 6 -- Updated README to accurately reflect political analysis results diff --git a/README b/README index ac12da9..1efd8d6 100644 --- a/README +++ b/README @@ -28,7 +28,7 @@ Examples >>> from indicoio import political, sentiment, fer, facial_features, language >>> political("Guns don't kill people. People kill people.") -{u'Libertarian': 0.22934946808893228, u'Liberal': 0.2025395008382684, u'Green': 0.0, u'Conservative': 1.0} +{u'Libertarian': 0.47740164630834825, u'Green': 0.08454409540443657, u'Liberal': 0.16617097211030055, u'Conservative': 0.2718832861769146} >>> sentiment('Worst movie ever.') {u'Sentiment': 0.07062467665597527} diff --git a/README.md b/README.md index ac12da9..1efd8d6 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Examples >>> from indicoio import political, sentiment, fer, facial_features, language >>> political("Guns don't kill people. People kill people.") -{u'Libertarian': 0.22934946808893228, u'Liberal': 0.2025395008382684, u'Green': 0.0, u'Conservative': 1.0} +{u'Libertarian': 0.47740164630834825, u'Green': 0.08454409540443657, u'Liberal': 0.16617097211030055, u'Conservative': 0.2718832861769146} >>> sentiment('Worst movie ever.') {u'Sentiment': 0.07062467665597527} diff --git a/indicoio/__init__.py b/indicoio/__init__.py index bd584c0..76d4a39 100644 --- a/indicoio/__init__.py +++ b/indicoio/__init__.py @@ -1,6 +1,6 @@ JSON_HEADERS = {'Content-type': 'application/json', 'Accept': 'text/plain'} -Version, version, __version__, VERSION = ('0.4.1',) * 4 +Version, version, __version__, VERSION = ('0.4.2',) * 4 from text.sentiment import political, posneg from text.sentiment import posneg as sentiment diff --git a/setup.py b/setup.py index 95debae..34ad457 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ except ImportError: setup( name="IndicoIo", - version='0.4.1', + version='0.4.2', packages=[ "indicoio", "indicoio.text",