Skip to content

Commit

Permalink
v1.2.1 - Fixed Syntax Tree Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gurudevrao authored Jun 30, 2018
1 parent 3ea8cda commit a7780e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gurunudi/ai.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def syntax_tree(self):

api_response=self.__responses.get(constants.API_SYNTACTIC_DEPENDENCY)
if api_response:
return api_response.get(constants.FIELD_SENTENCES)
return api_response.get(constants.FIELD_DEPENDENCIES)

return None

Expand Down Expand Up @@ -536,3 +536,4 @@ def set_response(self,api,response,additional_key):
else:
self.__responses[api]=response


0 comments on commit a7780e1

Please sign in to comment.