Skip to content

Commit

Permalink
finished arrange functino
Browse files Browse the repository at this point in the history
  • Loading branch information
boat-builder committed Aug 10, 2016
1 parent eb82014 commit 39a082d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions corenlp_pywrap/pathway.txt

This file was deleted.

4 changes: 2 additions & 2 deletions corenlp_pywrap/pywrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
root.setLevel(logging.INFO)

lhandler = logging.StreamHandler(sys.stdout)
lhandler.setLevel(logging.INFO)
lhandler.setLevel(logging.WARNING)
formatter = logging.Formatter(
'%(asctime)s [%(name)s]:%(levelname)s - %(message)s',
'%Y-%m-%d %H:%M:%S')
Expand Down Expand Up @@ -138,6 +138,6 @@ def arrange(self, data):
current_url = self.url_calc()
r = self.server_connection(current_url, data)
r = r.json()
root.warning('return json object doesnt have two values')
root.debug('return json object doesnt have two values')
rs = r['sentences']
return self.process_sentences(rs)

0 comments on commit 39a082d

Please sign in to comment.