Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
jspalink committed Jul 1, 2019
1 parent 600c2e4 commit 2565136
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions econtextapi/nlp/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ class Parse(ApiCallable):
INNER_WRAPPER = 'nlp'
PATH = '/nlp/parse'

def __init__(self, client, doc_string=None, *args, **kwargs):
def __init__(self, client, text=None, *args, **kwargs):
super(Parse, self).__init__()
self.client = client
self.doc = doc_string
self.text = text
self.data = {'text': text}
self.doc = None

def get_path(self):
return "".join([self.client.baseurl, Parse.PATH])

def get_data(self):
return {
'text': self.doc
}
return self.data

def process_result(self, response_object):
"""
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name = 'eContext API SDK',
version = "0.1.0",
version = "0.1.2",
author = 'Jonathan Spalink',
author_email = 'jspalink@info.com',
description = 'The eContext API provides taxonomic classification of text content',
Expand Down

0 comments on commit 2565136

Please sign in to comment.