updated README to reflect changes to political api

This commit is contained in:
Slater-Victoroff
2014-08-06 20:06:33 -04:00
parent 4fe2952df4
commit 6cbd27e7c1
5 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -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
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
+1 -1
View File
@@ -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}
+1 -1
View File
@@ -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}
+1 -1
View File
@@ -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
+1 -1
View File
@@ -8,7 +8,7 @@ except ImportError:
setup(
name="IndicoIo",
version='0.4.1',
version='0.4.2',
packages=[
"indicoio",
"indicoio.text",