ParallelDots
Uses ParallelDots AI to process or compare text for a variety of features. See the API documentation, at http://apis.paralleldots.com/text_docs/index.html
Terms of use: https://www.paralleldots.com/terms-and-conditions
RPCS
- ParallelDots.getAbuse(text: String)
Classify the given text as
abusive
,hate_speech
, orneither
. The returned structured data has confidence levels for each of these categories.Arguments:
text: String
(String) - text to analyze
Returns:
Object
(Object) - structured data containing the confidence levels
- ParallelDots.getEmotion(text: String)
Find the emotion in the given text. This is returned as structured data containing confidence levels for each of the following emotions:
excited
,angry
,bored
,fear
,sad
, andhappy
.Arguments:
text: String
(String) - text to analyze
Returns:
Object
(Object) - structured data with confidence levels for each emotion
- ParallelDots.getIntent(text: String)
Get the intent of the given text along with the confidence score. This is returned as structured data with confidence levels for each of the following intents:
news
,query
,spam
,marketing
, andfeedback
.Arguments:
text: String
(String) - text to analyze
Returns:
Object
(Object) - structured data with confidence levels for each intent
- ParallelDots.getKeywords(text: String)
Extract keywords from the given text along with their confidence score.
Arguments:
text: String
(String) - text to analyze
Returns:
List
(List) - information about keywords in the text
- ParallelDots.getNamedEntities(text: String)
Identify named entities in the given text.
Arguments:
text: String
(String) - text to analyze
Returns:
List
(List) - speculated information about named entities in the text, including the confidence level
- ParallelDots.getSarcasmProbability(text: String)
Compute the probability of sarcasm for the given text.
Arguments:
text: String
(String) - text to analyze
Returns:
BoundedNumber<0, 1>
(BoundedNumber) - predicted likelihood that the text is sarcastic
- ParallelDots.getSentiment(text: String)
Find the overall sentiment of the given text along with the confidence score. The returned structured data hasa confidence level for each of the following sentiment categories:
negative
,neutral
, andpositive
.Arguments:
text: String
(String) - text to analyze
Returns:
Object
(Object) - structured data with confidence level for each category
- ParallelDots.getSimilarity(text1: String, text2: String)
Get the level of similarity between two snippets of text. Note that the two pieces of text should be long, like full sentences (not just 2 words).
Arguments:
Returns:
BoundedNumber<0, 1>
(BoundedNumber) - the computed similarity level
- ParallelDots.getTaxonomy(text: String)
Classify the given text into IAB categories.
For more information about IAB categories, see https://www.iab.com/guidelines/iab-quality-assurance-guidelines-qag-taxonomy/
Arguments:
text: String
(String) - text to analyze
Returns:
List
(List) - information about the category breakdown, along with confidence scores