This function identifies and extracts various types of entities from the text data in the specified column of a DataFrame. Identifying these entities gives you a more nuanced understanding of the text's context and semantic structure. It provides an efficient way to extract this valuable information, enabling you to quickly analyze and interpret large volumes of text.
recognize_entities() can recognize a diverse set of entities including 'people', 'places', 'products', 'organizations', 'date/time', 'quantities', 'percentages', 'currencies', and 'names'.
If api_type' is set to aws, azure, gcp, or nim, any errors or exceptions encountered will label the outcome as "NaN." Additionally, the error details are included in the Message column of the output.
Syntax
recognize_entities(column, data, **kwargs)