Introduction

Kimola Cognitive API enables you to analyse your text using Kimola Cognitive technologies.

Kimola Cognitive uses its machine learning algorithms to analyse your text. In order to give you the best experience, Kimola provides you the flexibility to choose or upload the data you want to train the algorithms.

In order to use Kimola Cognitive API you need create an account.

What you can do with Kimola Cognitive API

Categorize your text

Extract entities from your text

Sentiment Analysis

About the API

Kimola Cognitive API:

  • Is a REST API

  • Uses JSON as its data model

  • Performs authentication through an API Key

For more information about the authentication process please visit Authentication page.

Custom Models or Pre-Trained Models: Which is better for you?

Custom Models

Training the algorithm with your data gives the most customized experience, however compared to choosing an already trained algorithm, takes more time.

If you want to use your own data to train our algorithm please proceed to Custom Models

Your privacy is very important to us and for detailed information please check out our Privacy Policy.

Pre-Trained Models

We've trained our algorithm with various data sets, and if you think one of these algorithms might be in line with your needs, you can find them under Pre-Trained Models.

Python examples for your convenience

Throughtout the documentation, we will give examples about how you can utilize Kimola Cognitive API, in Python. In order to use Kimola Cognitive API first, you need to download requests and urllib3 (assuming you are using Python 3) libraries and import the packages below.

import requests
import urllib.parse as urlparse
from urllib.parse import urlencode

For every request you send to an API endpoint, you can check the response's status code to have an understanding about the how the API reacted to your request.

Getting the status code for an example request can be found below:

response = requests.get('https://api.kimola.com/cognitive/v1/models/traineds', headers={'Authorization': 'APIKey your_api_key'})
r_status_code = response.status_code

For every request you send to an API endpoint, you can get the response data in JSON as shown below:

Your questions and suggestions..

We're always open for suggestions, and eager to help if you are having some trouble with the API. Please check Community Support page for further information.