Skip to main content

Python Wrapper for ParallelDots API

Project description

A wrapper for the ParallelDots API.


From PyPI: .. code:: bash

pip install paralleldots

From source:
python install

API Keys + Setup

Signup and get your free API key from ParallelDots. You will receive a mail containing the API key at the registered email id.


>>> from paralleldots import config

        #Setting your API key
>>> config.set_api_key("YOUR API KEY")

        #Viewing your API key
>>> config.get_api_key()

Supported APIs:

  • Semantic Proximity
  • Sentiment Analysis
  • Taxonomy
  • Entity Extraction


>>> from paralleldots import similarity, ner, taxonomy, sentiment

>>> similarity('Sachin is the greatest batsman', 'Tendulkar is the finest cricketer')
{"actual": 0.79401779353226476, "similarity": 4.8781727384640341}

>>> sentiment('Come on, lets play together')
{"sentiment": 0.7375614089809589}

>>> taxonomy('Narendra Modi is the prime minister of India')
{"credits": "ParallelDots", "tags": [["finance", 1], ["business", 0], ["government", 0]]}

>>> ner("Narendra Modi is the prime minister of India")
{"entities": ["narendra modi", "india"]}

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ParallelDots, version 0.4.6
Filename, size File type Python version Upload date Hashes
Filename, size (5.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page