ParallelDots 1.0.0
See the version list below for details.
dotnet add package ParallelDots --version 1.0.0
NuGet\Install-Package ParallelDots -Version 1.0.0
<PackageReference Include="ParallelDots" Version="1.0.0" />
paket add ParallelDots --version 1.0.0
#r "nuget: ParallelDots, 1.0.0"
// Install ParallelDots as a Cake Addin
#addin nuget:?package=ParallelDots&version=1.0.0
// Install ParallelDots as a Cake Tool
#tool nuget:?package=ParallelDots&version=1.0.0
ParallelDots API
Learn more about Target Frameworks and .NET Standard.
-
- Microsoft.Net.Http (>= 2.2.29)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.1.3 | 1,939 | 1/29/2021 |
2.1.2 | 728 | 4/25/2019 |
2.1.1 | 577 | 4/2/2019 |
2.1.0 | 881 | 9/12/2018 |
2.0.9 | 1,008 | 7/5/2018 |
2.0.8 | 977 | 6/14/2018 |
2.0.7 | 897 | 5/16/2018 |
2.0.6 | 967 | 4/11/2018 |
2.0.5 | 968 | 3/12/2018 |
2.0.4 | 3,161 | 1/25/2018 |
2.0.3 | 938 | 1/25/2018 |
2.0.2 | 889 | 12/1/2017 |
2.0.1 | 849 | 11/23/2017 |
2.0.0 | 1,015 | 9/28/2017 |
1.0.1 | 860 | 11/23/2017 |
1.0.0 | 1,319 | 9/16/2017 |
Installation:
From Nuget Gallery:
- Open the console in Visual Studio using the Tools > NuGet Package Manager > Package Manager Console command.
PM> Install-Package ParallelDots
Set a reference path in Visual C#:
- Open the Reference Manager in Visual Studio using the Project > Add Reference > Browse.
- Then select the .dll file from the installed packages in the "packages" directory of the application.
Import ParallelDots namespace:
>>> using ParallelDots
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.
>>> ParallelDots.api pd = new ParallelDots.api(api_key);
Supported APIs:
-> Semantic Similarity - http://blog.paralleldots.com/technology/semantic-publishing-media-industry/
-> Sentiment Analysis - http://blog.paralleldots.com/technology/extract-the-context-sentiment-analysis-and-opinion-mining/
-> Taxonomy
-> Named Entity Extraction/Recognition ( NER ) - http://blog.paralleldots.com/technology/dig-relevant-text-elements-entity-extraction-api/
-> Keywords - http://blog.paralleldots.com/technology/extract-weighty-words-keyword-extraction-api/
-> Intent - http://blog.paralleldots.com/text-analytics/common-use-cases-intent-analysis/
-> Emotion - http://blog.paralleldots.com/technology/deep-learning/emotion-detection-using-machine-learning/
-> Abuse
-> Multiple Language Sentiment
- Portuguese ( pt )
- French ( fr )
- Spanish ( sp )
Examples:
var sentiment = pd.sentiment("Come on, lets play together");
Console.WriteLine(sentiment);
{ "sentiment": 0.851301}
var similarity = pd.similarity("Sachin is the greatest batsman", "Tendulkar is the finest cricketer");
Console.WriteLine(similarity);
{"actual_score": 0.8429316084125629, "normalized_score": 4.931468682744329, "similarity": 4.931468682744329}
var ner = pd.ner("Narendra Modi is the prime minister of India");
Console.WriteLine(ner);
{"entities": [{"category": ["place"], "name": "India", "confidence_score": 1.0}, {"category": ["person"], "name": "Narendra Modi", "confidence_score": 1.0}]}
var keywords = pd.keywords("Prime Minister Narendra Modi tweeted a link to the speech Human Resource Development Minister Smriti Irani made in the Lok Sabha during the debate on the ongoing JNU row and the suicide of Dalit scholar Rohith Vemula at the Hyderabad Central University.");
Console.WriteLine(keywords);
{"keywords": [{"relevance_score": 6, "keyword": "Human Resource Development Minister Smriti Irani"}, {"relevance_score": 4, "keyword": "Prime Minister Narendra Modi"}, {"relevance_score": 3, "keyword": "Hyderabad Central University"}, {"relevance_score": 3, "keyword": "ongoing JNU row"}, {"relevance_score": 2, "keyword": "Dalit scholar"}, {"relevance_score": 2, "keyword": "Lok Sabha"}, {"relevance_score": 2, "keyword": "Rohith Vemula"}]}
var taxonomy = pd.taxonomy("Narendra Modi is the prime minister of India");
Console.WriteLine(taxonomy);
{"taxonomy": [{"tag": "finance", "confidence_score": 4.088}, {"tag": "government", "confidence_score": 3.4284}, {"tag": "business", "confidence_score": 1.2719}]}
var emotion = pd.emotion("Did you hear the latest Porcupine Tree song ? It's rocking !");
Console.WriteLine(emotion);
{"emotion": "happy"}
var intent = pd.intent("Finance ministry calls banks to discuss new facility to drain cash");
Console.WriteLine(intent);
{"intent": "news"}
var multilang = pd.multilang("La ville de Paris est très belle", "fr");
Console.WriteLine(multilang);
{"sentiment": "positive", "confidence_score": 0.845703}
var abuse = pd.abuse("you f**king a$$hole");
Console.WriteLine(abuse);
{"sentence_type": "Abusive", "confidence_score": 0.953125}
var sentiment_social = sentiment_social("I left my camera at home")
Console.WriteLine(sentiment_social);
{"probabilities": {"positive": 0.040374, "neutral": 0.491032, "negative": 0.468594}}
var usage = pd.usage();
Console.WriteLine(usage);
{"emotion": 100, "sentiment": 96, "similarity": 100, "taxonomy": 100, "abuse": 100, "intent": 100, "keywords": 100, "ner": 100, "multilang": 100, "sentiment_social": 97}