Compartilhar via


Cloudmersive NLP (Preview)

The powerful Natural Language Processing APIs (v2) let you perform part of speech tagging, entity identification, sentence parsing, and much more to help you understand the meaning of unstructured text.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Cloudmersive Support
URL https://account.cloudmersive.com/contact-support
Email support@cloudmersive.com
Connector Metadata
Publisher Cloudmersive, LLC
Website https://www.cloudmersive.com/nlp-api
Privacy policy https://www.cloudmersive.com/privacy-policy
Categories AI;Data

This connector is critical for processing text and performing advanced text analytics and natural language processing. Cloudmersive NLP covers a wide array of common text analytics functions, including sentiment analysis, subjectivity detection, entity extraction, automatic rephrasing, and much more. Stateless high-security processing ensures fast performance and strong security. You can learn more at the NLP API page.

To use the NLP connector, you need a Cloudmersive account. You can sign up with a Microsoft Account or create a Cloudmersive account. Follow the steps below to get your API Key.

Get the API Key and Secret

  • Register for a Cloudmersive Account
  • Sign In with your Cloudmersive Account and click on API Keys

Here you can create and see your API key(s) listed on the API Keys page. Simply copy and paste this API Key into the Cloudmersive NLP Connector.

Now you are ready to start using the Cloudmersive NLP Connector.

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Name Type Description Required
API Key (from https://cloudmersive.com) securestring The Api Key for this API True

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Check if sentence is spelled correctly

Checks whether the sentence is spelled correctly and returns the result as JSON

Detect language of text

Automatically determine which language a text string is written in. Supports Danish (DAN), German (DEU), English (ENG), French (FRA), Italian (ITA), Japanese (JPN), Korean (KOR), Dutch (NLD), Norwegian (NOR), Portuguese (POR), Russian (RUS), Spanish (SPA), Swedish (SWE), Chinese (ZHO).

Extract entities from string

Extract the named entitites from an input string.

Extract sentences from string

Segment an input string into separate sentences, output result as a string.

Find spelling corrections

Find spelling correction suggestions and return result as JSON

Get words in input string

Get the component words in an input string

Parse string to syntax tree

Parses the input string into a Penn Treebank syntax tree

Part-of-speech tag a string

Part-of-speech (POS) tag a string and return result as JSON

Part-of-speech tag a string, filter to adjectives

Part-of-speech (POS) tag a string, find the adjectives, and return result as JSON

Part-of-speech tag a string, filter to adverbs

Part-of-speech (POS) tag a string, find the adverbs, and return result as JSON

Part-of-speech tag a string, filter to nouns

Part-of-speech (POS) tag a string, find the nouns, and return result as JSON

Part-of-speech tag a string, filter to pronouns

Part-of-speech (POS) tag a string, find the pronouns, and return result as JSON

Part-of-speech tag a string, filter to verbs

Part-of-speech (POS) tag a string, find the verbs, and return result as JSON

Perform Profanity and Obscene Language Analysis and Detection on Text

Analyze input text using advanced Profanity and Obscene Language Analysis to determine if the input contains profane language. Supports English language input. Consumes 1-2 API calls per sentence.

Perform Sentiment Analysis and Classification on Text

Analyze input text using advanced Sentiment Analysis to determine if the input is positive, negative, or neutral. Supports English language input. Consumes 1-2 API calls per sentence.

Perform Subjectivity and Objectivity Analysis on Text

Analyze input text using advanced Subjectivity and Objectivity Language Analysis to determine if the input text is objective or subjective, and how much. Supports English language input. Consumes 1-2 API calls per sentence.

Rephrase, paraphrase English text sentence-by-sentence using Deep Learning AI

Automatically rephrases or paraphrases input text in English sentence by sentence using advanced Deep Learning and Neural NLP. Creates multiple reprhasing candidates per input sentence, from 1 to 10 possible rephrasings of the original sentence. Seeks to preserve original semantic meaning in rephrased output candidates. Consumes 1-2 API calls per output rephrasing option generated, per sentence.

Translate English to German text with Deep Learning AI

Automatically translates input text in English to output text in German using advanced Deep Learning and Neural NLP. Consumes 1-2 API calls per input sentence.

Translate English to Russian text with Deep Learning AI

Automatically translates input text in English to output text in Russian using advanced Deep Learning and Neural NLP. Consumes 1-2 API calls per input sentence.

Translate German to English text with Deep Learning AI

Automatically translates input text in German to output text in English using advanced Deep Learning and Neural NLP. Consumes 1-2 API calls per input sentence.

Translate Russian to English text with Deep Learning AI

Automatically translates input text in Russian to output text in English using advanced Deep Learning and Neural NLP. Consumes 1-2 API calls per input sentence.

Check if sentence is spelled correctly

Checks whether the sentence is spelled correctly and returns the result as JSON

Parameters

Name Key Required Type Description
Sentence
Sentence string

Input sentence for spell check

Returns

Result of spell checking a sentence

Detect language of text

Automatically determine which language a text string is written in. Supports Danish (DAN), German (DEU), English (ENG), French (FRA), Italian (ITA), Japanese (JPN), Korean (KOR), Dutch (NLD), Norwegian (NOR), Portuguese (POR), Russian (RUS), Spanish (SPA), Swedish (SWE), Chinese (ZHO).

Parameters

Name Key Required Type Description
textToDetect
textToDetect string

Text to detect the language of

Returns

Output of a language detection operation

Extract entities from string

Extract the named entitites from an input string.

Parameters

Name Key Required Type Description
InputString
InputString string

Input string to extract entities from

Returns

Result of performing an extract entities operation

Extract sentences from string

Segment an input string into separate sentences, output result as a string.

Parameters

Name Key Required Type Description
InputString
InputString string

Returns

Find spelling corrections

Find spelling correction suggestions and return result as JSON

Parameters

Name Key Required Type Description
Word
Word string

Returns

Spelling correction check result

Get words in input string

Get the component words in an input string

Parameters

Name Key Required Type Description
InputText
InputText string

Returns

Words in input string

Parse string to syntax tree

Parses the input string into a Penn Treebank syntax tree

Parameters

Name Key Required Type Description
InputString
InputString string

Input string to linguistically parse

Returns

Result of linguistic parse operation

Part-of-speech tag a string

Part-of-speech (POS) tag a string and return result as JSON

Parameters

Name Key Required Type Description
InputText
InputText string

Input text string

Returns

Part of speech tag result

Part-of-speech tag a string, filter to adjectives

Part-of-speech (POS) tag a string, find the adjectives, and return result as JSON

Parameters

Name Key Required Type Description
InputText
InputText string

Input text string

Returns

Part of speech tag result

Part-of-speech tag a string, filter to adverbs

Part-of-speech (POS) tag a string, find the adverbs, and return result as JSON

Parameters

Name Key Required Type Description
InputText
InputText string

Input text string

Returns

Part of speech tag result

Part-of-speech tag a string, filter to nouns

Part-of-speech (POS) tag a string, find the nouns, and return result as JSON

Parameters

Name Key Required Type Description
InputText
InputText string

Input text string

Returns

Part of speech tag result

Part-of-speech tag a string, filter to pronouns

Part-of-speech (POS) tag a string, find the pronouns, and return result as JSON

Parameters

Name Key Required Type Description
InputText
InputText string

Input text string

Returns

Part of speech tag result

Part-of-speech tag a string, filter to verbs

Part-of-speech (POS) tag a string, find the verbs, and return result as JSON

Parameters

Name Key Required Type Description
InputText
InputText string

Input text string

Returns

Part of speech tag result

Perform Profanity and Obscene Language Analysis and Detection on Text

Analyze input text using advanced Profanity and Obscene Language Analysis to determine if the input contains profane language. Supports English language input. Consumes 1-2 API calls per sentence.

Parameters

Name Key Required Type Description
TextToAnalyze
TextToAnalyze string

Text to analyze

Returns

Output of a profanity analysis operation

Perform Sentiment Analysis and Classification on Text

Analyze input text using advanced Sentiment Analysis to determine if the input is positive, negative, or neutral. Supports English language input. Consumes 1-2 API calls per sentence.

Parameters

Name Key Required Type Description
TextToAnalyze
TextToAnalyze string

Text to analyze

Returns

Output of a sentiment analysis operation

Perform Subjectivity and Objectivity Analysis on Text

Analyze input text using advanced Subjectivity and Objectivity Language Analysis to determine if the input text is objective or subjective, and how much. Supports English language input. Consumes 1-2 API calls per sentence.

Parameters

Name Key Required Type Description
TextToAnalyze
TextToAnalyze string

Text to analyze

Returns

Output of a subjectivity analysis operation

Rephrase, paraphrase English text sentence-by-sentence using Deep Learning AI

Automatically rephrases or paraphrases input text in English sentence by sentence using advanced Deep Learning and Neural NLP. Creates multiple reprhasing candidates per input sentence, from 1 to 10 possible rephrasings of the original sentence. Seeks to preserve original semantic meaning in rephrased output candidates. Consumes 1-2 API calls per output rephrasing option generated, per sentence.

Parameters

Name Key Required Type Description
TextToTranslate
TextToTranslate string

Text to rephrase

TargetRephrasingCount
TargetRephrasingCount integer

The number of rephrasing output options you would like per sentence; possible values are 1 to 10. Default is 2.

Returns

Output of a text rephrasing operation

Translate English to German text with Deep Learning AI

Automatically translates input text in English to output text in German using advanced Deep Learning and Neural NLP. Consumes 1-2 API calls per input sentence.

Parameters

Name Key Required Type Description
TextToTranslate
TextToTranslate string

Text to translate

Returns

Output of a language translation operation

Translate English to Russian text with Deep Learning AI

Automatically translates input text in English to output text in Russian using advanced Deep Learning and Neural NLP. Consumes 1-2 API calls per input sentence.

Parameters

Name Key Required Type Description
TextToTranslate
TextToTranslate string

Text to translate

Returns

Output of a language translation operation

Translate German to English text with Deep Learning AI

Automatically translates input text in German to output text in English using advanced Deep Learning and Neural NLP. Consumes 1-2 API calls per input sentence.

Parameters

Name Key Required Type Description
TextToTranslate
TextToTranslate string

Text to translate

Returns

Output of a language translation operation

Translate Russian to English text with Deep Learning AI

Automatically translates input text in Russian to output text in English using advanced Deep Learning and Neural NLP. Consumes 1-2 API calls per input sentence.

Parameters

Name Key Required Type Description
TextToTranslate
TextToTranslate string

Text to translate

Returns

Output of a language translation operation

Definitions

SentimentAnalysisResponse

Output of a sentiment analysis operation

Name Path Type Description
Successful
Successful boolean

True if the sentiment analysis operation was successful, false otherwise

SentimentClassificationResult
SentimentClassificationResult string

Classification of input text into a sentiment classification; possible values are "Positive", "Negative" or "Neutral"

SentimentScoreResult
SentimentScoreResult double

Sentiment classification score between -1.0 and +1.0 where scores less than 0 are negative sentiment, scores greater than 0 are positive sentiment and scores close to 0 are neutral. The greater the value deviates from 0.0 the stronger the sentiment, with +1.0 and -1.0 being maximum positive and negative sentiment, respectively.

SentenceCount
SentenceCount integer

Number of sentences in input text

ProfanityAnalysisResponse

Output of a profanity analysis operation

Name Path Type Description
Successful
Successful boolean

True if the profanity detection operation was successful, false otherwise

ProfanityScoreResult
ProfanityScoreResult double

Profanity classification score between 0.0 and 1.0 where scores closer to zero have a low probability of being profane or contain obscene language, while scores close to 1.0 have a high probability of being profane or containing obscene language. Values above 0.8 have a very high probability of being profane.

SentenceCount
SentenceCount integer

Number of sentences in input text

SubjectivityAnalysisResponse

Output of a subjectivity analysis operation

Name Path Type Description
Successful
Successful boolean

True if the subjectivity analysis operation was successful, false otherwise

SubjectivityScoreResult
SubjectivityScoreResult double

Subjectivity vs. objectivity classification score between 0.0 and 1.0 where scores closer to zero have a high probability of objectivity, while scores close to 1.0 have a high probability of subjectivity.

SentenceCount
SentenceCount integer

Number of sentences in input text

ExtractEntitiesResponse

Result of performing an extract entities operation

Name Path Type Description
Successful
Successful boolean

True if the operation was successful, false otherwise

Entities
Entities array of Entity

Entity

Name Path Type Description
EntityType
EntityType string
EntityText
EntityText string

LanguageDetectionResponse

Output of a language detection operation

Name Path Type Description
Successful
Successful boolean

True if the language detection operation was successful, false otherwise

DetectedLanguage_ThreeLetterCode
DetectedLanguage_ThreeLetterCode string

ISO 639 three letter language code

DetectedLanguage_FullName
DetectedLanguage_FullName string

The full name (in English) of the detected language

LanguageTranslationResponse

Output of a language translation operation

Name Path Type Description
Successful
Successful boolean

True if the language detection operation was successful, false otherwise

TranslatedTextResult
TranslatedTextResult string

Translated text in target language

SentenceCount
SentenceCount integer

Number of sentences in input text

ParseResponse

Result of linguistic parse operation

Name Path Type Description
ParseTree
ParseTree string

Parse tree in Penn Treebank syntax tree format

PosResponse

Part of speech tag result

Name Path Type Description
TaggedSentences
TaggedSentences array of PosSentence

Sentences in the string

PosSentence

Sentence in a POS tag result

Name Path Type Description
Words
Words array of PosTaggedWord

Words in the sentence

PosTaggedWord

Word tagged in a POS tag

Name Path Type Description
Word
Word object

Word that was tagged

Tag
Tag object

Penn Treebank tag applied to the word

RephraseResponse

Output of a text rephrasing operation

Name Path Type Description
Successful
Successful boolean

True if the language detection operation was successful, false otherwise

RephrasedResults
RephrasedResults array of RephrasedSentence

Results of the rephrasing, paraphrasing operation, in the order of the input sentences

SentenceCount
SentenceCount integer

Number of sentences in input text

RephrasedSentence

One input sentence and associated rephrasing results

Name Path Type Description
SentenceIndex
SentenceIndex integer

Index of the sentence, 1-based, ordered

OriginalSentenceText
OriginalSentenceText string

Original input sentence text

Rephrasings
Rephrasings array of RephrasedSentenceOption

Rephrasing text options, candidates of the original input sentence, in order - with best candidate first

RephrasedSentenceOption

One rephrasing of an original input sentence

Name Path Type Description
RephrasedOptionIndex
RephrasedOptionIndex integer

Ordered index of the rephrasing option, 1-based, with 1 being the best option

RephrasedSentenceText
RephrasedSentenceText string

One sentence of output rephrased text of original input sentence

SentenceSegmentationResponse

Name Path Type Description
Successful
Successful boolean
Sentences
Sentences array of string
SentenceCount
SentenceCount integer

GetWordsResponse

Words in input string

Name Path Type Description
Words
Words array of WordPosition

Array of words

WordPosition

Name Path Type Description
Word
Word string

Word as a string

WordIndex
WordIndex integer

Zero-based index of the word; first word has index 0, second word has index 1 and so on

StartPosition
StartPosition integer

Zero-based character offset at which the word begins in the input string

EndPosition
EndPosition integer

Zero-based character offset at which the word ends in the input string

CheckWordResponse

Spelling correction check result

Name Path Type Description
Correct
Correct boolean

True if the word is spelled correctly, false otherwise

Suggestions
Suggestions array of string

Suggested spelling corrections

CheckSentenceResponse

Result of spell checking a sentence

Name Path Type Description
IncorrectCount
IncorrectCount integer

Number of incorrect words

Words
Words array of CorrectWordInSentence

Words in the sentence, both correct and incorrect

CorrectWordInSentence

A word in a sentence

Name Path Type Description
Word
Word WordPosition
Correct
Correct boolean

True if the word is spelled correctly, false otherwise

Suggestions
Suggestions array of string

Suggested spelling improvements