Performing a Key-Phrases Extraction

Learn to use the text analytics service from Azure to extract key phrases from the text using the SDK.

What is key-phrase extraction?

The key-phrase extraction is an application in the field of Natural Language Processing, where the key points from a chunk of text can be extracted. This usually helps to understand the overall idea of the text without reading the complete text. The Azure Languageearlier called text analytics offers the key-phrase extraction service.

Dependencies

To work with this chapter and run the code snippets on your local machine, you need to install the following package:

  • azure-ai-textanalytics==5.1.0

To learn how to install the required package, please visit the Appendix section.

Implementation

Now let’s move onto implementation and explore how the language service can be used to extract the key phrases from the text.

Get hands-on with 1400+ tech skills courses.