Update api names

This commit is contained in:
Madison May
2014-11-07 15:11:44 -05:00
parent 5ef6c2ad17
commit 1d66a039a2
3 changed files with 6 additions and 6 deletions
@@ -1,6 +1,6 @@
from indicoio.utils import api_handler
def classification(api_root, text):
def text_tags(api_root, text):
"""
Given input text, returns a probability distribution over 100 document categories
@@ -22,4 +22,4 @@ def classification(api_root, text):
:rtype: Dictionary of class probability pairs
"""
return api_handler(text, api_root + "documentclassification")
return api_handler(text, api_root + "texttags")