Skip to content

Classifying Text:

Algorithm Name: classify_text

This algorithm understands the input text and return the possible classifications of the input text.

Input: a string of text that needs to be analysed

Output: a dictionary of features

import Aiii
c = Aiii.Client("YOUR_API_KEY")

data = {
    "data": "this is an input string"
algo = c.algo('algo://adamleo/classify_text')
response = algo.pipe(data)