RapidAPI logo

Sign Up

Log In

Natural Language Processing - Understanding - Personality Analysis - Tone - Intent

By Recognant
Updated 4 months ago
Popularity Score
Success Rate

Natural Language Processing - Understanding - Personality Analysis - Tone - Intent API Overview

This API provides text analysis for Tone, Sentiment, Summarization, Personality Analysis, and more.

This API can be used for: Part of Speech Tagging Named Entity Recognition Sentence Disambiguation KeyWord Extraction Summarization and Sentence Significance Sentiment Analysis Alliteration Detection Word Sense Disambiguation Clustering Logistic Regression Scoring Prominence Tagging for Latent Semantic Indexing Tagging for Singular Value Decomposition Phonetic Decomposition Reading Difficulty Modeling Technical Difficulty Modeling Spelling Correction String Comparison and Plagiarism Detection Author Profiling Psychographic Modeling Fact and Statistic Extraction Ism Extraction Character Language Modeling

It is also useful in the creation of ChatBots, SearchEngines, and KnolExtraction for Automated Documentation.

Contact API Provider

Natural Language Processing, Understanding, Computational Linguistics, Intent Recognition, and Personality Analysis

This API provides numerous text analysis features. There are several beta features which are not documented.

The analysis from this API is designed to be functionally similar to those provided by IBM Watson, but because of differences in the scoring, and what we feel is a greater accuracy in this API, the results may not be 100% compatible.

This API has also been optimized for ease of use. You do not need several API's to achieve most text analysis tasks.

Because you can have multiple analysis in a single call, by using comma separated values, most calls will have multiple analysis performed, and if the same text is to be analyzed several ways, this will save you in time, and cost.

You can run analysis by adding them to the "m" portion of the request (m = method)

Available methods include:

  • partofspeechbysent
  • nounentitiesbysent
  • flagsbysent
  • tokencount
  • interogativebysent
  • questiontypebysent
  • intent
  • facts
  • opedness
  • strunk
  • alltokennosuffix
  • tokencounts
  • lctokencounts
  • nounentitycounts
  • flagcounts
  • summarytext
  • composition
  • synonymcomposition
  • traits
  • index
  • scoredsentences
  • lcngramsbysent
  • lcngrams
  • ngramsbysent
  • ngrams
  • wordbag
  • lcwordbag
  • sylcountbyword
  • sylcountbysent
  • sylcounttotal
  • prominencebyword
  • prominenceaverage
  • charfrequency
  • aoaaverage
  • reducedtokens
  • reducednumeric
  • contenthash
  • tense
  • phoneticsbysent
  • sentiment
  • lolspeak

** Coming soon:**

  • Personality profiling: Neo-Jungian, 5 Facet, Interconnected 9, 4 Color
  • Normalized: reduce complexity of sentence structure
  • Sentiment: Relative, Comparative
  • Style Conversion: Western, SimpleEnglish,
  • Expected Related Terms: (useful for authors, and Voice Recognition systems)
  • Questions answered by content
  • Questions not answered by content
  • Spell Check
  • Related Content
  • Political Lean
  • Possible Chat / Bot / Conversational Responses

Descriptions of Methods:
partofspeechbysent - Part of speech for each word grouped by sentence.

nounentitiesbysent - Noun Entities/Named Entities per sentence.

flagsbysent - Flags are signals about the sentence. Flags which start with a number 1-6 are final. Flags with a . are beta. Flags with no . are alpha.

tokencount - Number of tokens in the text.

interogativebysent - The who, what, where, when, why, and how of the sentences.

questiontypebysent - The type of question being asked by sentence. "How big is a blue whale" is a question of dimension as an example. There are currently 250 types.

intent - A description of what the user intends to have happen [Beta].

facts - The facts contained in the sentences of the text.

opedness - The ammount of opinion conveyed in the text.

strunk - Edits necessary to conform with the Strunk and White Style guide.

alltokennosuffix - Suffixes removed from tokens such that dumb and dumber are the same token.

tokencounts - Counts of all tokens in the text.

lctokencounts - Lower Case token counts.

nounentitycounts - Counts of named/noun entities.

flagcounts - Counts of flags.

summarytext - 350 character abstract of the text.

composition - the make up of the text

synonymcomposition - Composition based on synonyms or concepts of the text.

traits - Traits of the text.

index - Index of the words by sentence which contains them.

scoredsentences - Importance of each sentence. Can be used for summarization.

lcngramsbysent - nGrams contained in each sentence.

lcngrams - All lower case nGrams for the text.

ngramsbysent - Case maintined nGrams by sentence.

ngrams - Case maintined nGrams.

wordbag - All of the words in the text.

lcwordbag - All of the words as lower case in the text.

sylcountbyword - Syllable counts by word.

sylcountbysent - Syllable counts by sentence.

sylcounttotal - Total syllable count.

prominencebyword - Prominence of words (how rare they are).

prominenceaverage - Average prominence.

charfrequency - Character frequency (useful for determining if English, or if Lyric)

aoaaverage - Average age of Acquisition.

reducedtokens - High collision rate tokenization method, useful for duplicate content detection or broad search.

reducednumeric - Reduced significant digit numbers to aid in collisions for search, or fact validation.

contenthash - Hash of the content for aiding in collision detection.

tense - The tense of each sentence in the text.

phoneticsbysent - Finding collisions of names often requires multiple possible phonetic matches. This returns all possible pronunciations for each word in each sentence.

sentiment - The sentiment of each sentence. Negative values indicate negative sentiment.

lolspeak - Translates the text to Lolspeak. We iz not suah whut diz iz useful for, but eet iz fun.

Log inSign up

Install SDK for NodeJS


To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

.header("X-RapidAPI-Host", "nlp-nlu.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("q=This is text to analyze. It can be quite long. Up to 10k characters.")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication