Keyword Extraction

Zia Keyword Extraction is a part of Text Analytics that processes textual content and extracts the highlights of the text. The extracted terms are grouped into two categories: Keywords and Keyphrases. These highlights deliver a concise summary of the text and provide an abstraction of the whole text.

The response contains an array of the key words, and another array of the key phrases that are extracted from the text.

You can pass a block of text as the input of upto 1500 characters in a single request, as shown below. The text is passed to get_keyword_extraction(). The keywords and keyphrases are then fetched as individual lists.

To know more about the component instance zia used below, please refer to this help section.

Parameters Used

Parameter Name Data Type Definition
text String A Mandatory parameter. Will store the text from which keywords has to be extracted.
    
copy
zia = app.zia() result = zia.get_keyword_extraction( [ "Zoho Corporation, is an Indian multinational technology company that makes web-based business tools. It is best known for Zoho Office Suite. The company was founded by Sridhar Vembu and Tony Thomas and has a presence in seven locations with its global headquarters in Chennai, India, and corporate headquarters in Pleasanton, California." ] )

The sample response is shown below :

    
copy
{ "keyword_extractor":{ "keywords":[ "Chennai", "company", "India", "Indian", "presence", "locations", "Pleasanton", "California" ], "keyphrases":[ "corporate headquarters", "multinational technology company", "Zoho Corporation", "Zoho Office Suite", "global headquarters", "Tony Thomas", "web-based business tools", "Sridhar Vembu" ] } }
Info : Refer to the SDK Scopes table to determine the required permission level for performing the above operation.

Last Updated 2025-03-28 18:24:49 +0530 +0530