paralleldots

Python repository for ParallelDots API Wrapper

https://github.com/paralleldots/paralleldots-python-api

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.7%) to scientific vocabulary

Keywords

computer-vision data-science deep-learning machine-learning nlp python
Last synced: 6 months ago · JSON representation

Repository

Python repository for ParallelDots API Wrapper

Basic Info
  • Host: GitHub
  • Owner: ParallelDots
  • Language: Python
  • Default Branch: master
  • Size: 88.9 KB
Statistics
  • Stars: 45
  • Watchers: 11
  • Forks: 16
  • Open Issues: 11
  • Releases: 0
Topics
computer-vision data-science deep-learning machine-learning nlp python
Created over 10 years ago · Last pushed 8 months ago
Metadata Files
Readme

README.md

ParallelDots-Python-API

A wrapper for the ParallelDots APIs.

Build Status: CircleCI

Installation

From PyPI:

pip install paralleldots

From Source:

https://github.com/ParallelDots/ParallelDots-Python-API.git
python setup.py install

API Keys & Setup

Sign up to create your free account from ParallelDots. Log in to your account to get your API key.

Configuration:

>>>>> import paralleldots

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

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

Languages Supported:

  • Portuguese ( pt )
  • Simplified Chinese ( Not available in multilingual keyword generator API ) ( zh )
  • Spanish ( es )
  • German ( de )
  • French ( fr )
  • Dutch ( nl )
  • Italian ( it )
  • Japanese ( ja )
  • Thai ( th )
  • Danish ( da )
  • Finnish ( fi )
  • Greek ( el )
  • Russian ( ru )
  • Arabic ( ar )

Supported APIs:

  • Abuse
  • Custom Classifier
  • Emotion
  • Sarcasm
  • Facial Emotion
  • Intent
  • Keywords
  • Multilanguage Keywords ( Supports Multiple Languages )
  • Named Entity Extraction/Recognition ( NER )
  • Not Safe For Work ( NSFW Image Classifier )
  • Phrase Extractor
  • Popularity ( Image Classifier )
  • Object Recognizer
  • Sentiment Analysis
  • Target Sentiment Analysis
  • Semantic Similarity
  • Taxonomy
  • Text Parser
  • Usage

Examples

>>> import paralleldots

>>> api_key   = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
>>> text      = "Chipotle in the north of Chicago is a nice outlet. I went to this place for their famous burritos but fell in love with their healthy avocado salads. Our server Jessica was very helpful. Will pop in again soon!"
>>> path      = "/path/to/image.jpg"
>>> lang_code = "fr"
>>> aspect    = "food"
>>> lang_text = "C'est un environnement très hostile, si vous choisissez de débattre ici, vous serez vicieusement attaqué par l'opposition."
>>> category  = [ "travel","food","shopping", "market" ]
>>> url       = "http://i.imgur.com/klb812s.jpg"
>>> data      =  [ "I like walking in the park", "Don't repeat the same thing over and over!", "This new Liverpool team is not bad", "I have a throat infection" ]


>>> paralleldots.set_api_key( api_key )
>>> print( "API Key: %s" % paralleldots.get_api_key() )

>>> print( "\nAbuse" )
>>> paralleldots.abuse( text )


>>> print( "\nBatch Abuse" )
>>> paralleldots.batch_abuse( data )


>>> print( "\nCustom Classifier" )
>>> paralleldots.custom_classifier( text, category )

>>> print( "\nEmotion" )
>>> paralleldots.emotion( text )

>>> print( "\nBatch Emotion" )
>>> paralleldots.batch_emotion( data )


>>> print( "\nEmotion - Lang: Fr". )
>>> paralleldots.emotion( lang_text, lang_code )


>>> print( "\nSarcasm - Lang: Fr" )
>>> paralleldots.sarcasm( lang_text,lang_code )


>>> print( "\nSarcasm" )
>>> paralleldots.sarcasm( text)


>>> print( "\nBatch Sarcasm" )
>>> paralleldots.batch_sarcasm( data )


>>> print( "\nFacial Emotion" )
>>> paralleldots.facial_emotion( path )

>>> print( "\nFacial Emotion: URL Method" )
>>> paralleldots.facial_emotion_url( url )

>>> print( "\nIntent" )
>>> paralleldots.intent( text )

>>> print( "\nBatch Intent" )
>>> paralleldots.batch_intent( data )

>>> print( "\nKeywords" )
>>> paralleldots.keywords( text )

>>> print( "\nBatch Keywords" )
>>> paralleldots.batch_keywords( data )

>>> print( "\nLanguage Detection" )
>>> paralleldots.language_detection( lang_text )


>>> print( "\nBatch Language Detection" )
>>> paralleldots.batch_language_detection( data )


>>> print( "\nMultilang Keywords - Lang: fr". )
>>> paralleldots.multilang_keywords( lang_text, lang_code )

>>> print( "\nNER" )
>>> paralleldots.ner( text )

>>> print( "\nNER - Lang: es" )
>>> paralleldots.ner( "Lionel Andrés Messi vuelve a ser el gran protagonista en las portadas de la prensa deportiva internacional al día siguiente de un partido de Champions.","es" )


>>> print( "\nBatch NER" )
>>> paralleldots.batch_ner( data ) 



>>> print( "\nObject Recognizer" )
>>> paralleldots.object_recognizer( path )


>>> print( "\nObject Recognizer: URL Method" )
>>> paralleldots.object_recognizer_url( url )


>>> print( "\nPhrase Extractor" )
>>> paralleldots.phrase_extractor( text ) 


>>> print( "\nBatch Phrase Extractor" )
>>> paralleldots.batch_phrase_extractor( data )


>>> print( "\nSentiment" )
>>> paralleldots.sentiment( text )

>>> print( "\nTarget Sentiment" )
>>> paralleldots.target_sentiment( text, aspect )

>>> print( "\nBatch Sentiment" )
>>> paralleldots.batch_sentiment( data )


>>> print( "\nSentiment - Lang: Fr". )
>>> paralleldots.sentiment( lang_text, lang_code ) 


>>> print( "\nSimilarity" )
>>> paralleldots.similarity( "I love fish and ice cream!", "fish and ice cream are the best!" )


>>> print( "\nTaxonomy" )
>>> paralleldots.taxonomy( text ) 


>>> print( "\nBatch Taxonomy" )
>>> paralleldots.batch_taxonomy( data )


>>> paralleldots.usage()

Owner

  • Name: ParallelDots, Inc.
  • Login: ParallelDots
  • Kind: organization
  • Email: support@paralleldots.com

GitHub Events

Total
  • Watch event: 2
  • Push event: 1
  • Pull request event: 1
  • Create event: 1
Last Year
  • Watch event: 2
  • Push event: 1
  • Pull request event: 1
  • Create event: 1

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 95
  • Total Committers: 10
  • Avg Commits per committer: 9.5
  • Development Distribution Score (DDS): 0.579
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Meghdeep Ray m****r@g****m 40
Ahwan Kumar a****u@g****m 33
PD Tech V****a 8
Ankit Singh a****7@g****m 4
Akash1507 a****a@g****m 3
Vipin Gupta v****8@g****m 2
Abhishek Vyas a****s@D****l 2
Abhishek Vyas a****s@A****m 1
Jyoti1009 J****9 1
shashankg22 3****2 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 13
  • Total pull requests: 7
  • Average time to close issues: 8 months
  • Average time to close pull requests: about 5 hours
  • Total issue authors: 13
  • Total pull request authors: 3
  • Average comments per issue: 1.38
  • Average comments per pull request: 0.57
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • rakesh-verma-16 (1)
  • vinaychetu (1)
  • subramaniank (1)
  • Yuminzhou (1)
  • dimple1024 (1)
  • UrosOgrizovic (1)
  • saifsabir97 (1)
  • shiv-jetwal90 (1)
  • SIMRAN88 (1)
  • neldivad (1)
  • wll969 (1)
  • bmond (1)
  • bonedaddy (1)
Pull Request Authors
  • ahwankumar (7)
  • shruti9619 (2)
  • shuttlesworthNEO (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 259 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 10
  • Total versions: 53
  • Total maintainers: 3
pypi.org: paralleldots

Python Wrapper for ParallelDots APIs

  • Versions: 53
  • Dependent Packages: 0
  • Dependent Repositories: 10
  • Downloads: 259 Last month
Rankings
Dependent repos count: 4.6%
Forks count: 9.1%
Average: 9.5%
Stargazers count: 10.0%
Dependent packages count: 10.0%
Downloads: 13.8%
Maintainers (3)
Last synced: 6 months ago

Dependencies

requirements.txt pypi
  • requests >=2.10.0
setup.py pypi
  • requests *