Description Usage Arguments Value See Also Examples
Analyzes a string of text and returns the key phrases (comma delimited). This function is a wrapper for the Key Phrase get request in Microsoft's Cognitive Services API.
1 | get_key_phrases(text, language = "en")
|
text |
The text to be analyzed for key phrases. |
language |
The language of the text being analyzed. Must be en, es, fr, or pt. |
Returns the key phrases in the string, text
.
A data frame is returned containing the original text and the key phrases, comma delimited.
https://www.microsoft.com/cognitive-services
1 2 3 | get_key_phrases("I am very angry")
get_key_phrases("je suis tres en colere", language = "fr")
get_key_phrases(c(sentence1, sentence2, sentence3))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.