how to pharse or extract the text from sentence using azure cognitive services

Deshmukh, Ashish 1 Reputation point
2022-08-08T18:48:20.787+00:00

I want to pharse or extract the employee no from the sentence.

e.g - Suppose i pass the text like "Show me the details of Employee no 23456"

so how can i extract the 23456 from given text. using azure cognitive services.

Thanks!!!

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
723 questions
Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
359 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,403 questions
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 42,286 Reputation points Microsoft Employee
    2022-08-09T09:56:29.3+00:00

    @Deshmukh, Ashish For this scenario I would consider using the custom NER project to train a custom model to extract entities that are specific to your organization.
    For ex: In this case the number "23456" is an employee number and you would like the endpoint to extract and label this data in the sentence as employee number.

    To achieve this, you will have to train a model with some sample sentences and label the entities. This can be done using the language studio as a visual interface or you can create a formatted labels JSON file and import it in your project. A sample project that you can use is available to test on github. You can use this quickstart along with this sample and test the deployed endpoint to extract the entities.

    You can also use the readily available NER API to extract some supported entities, but it would not identify an employee number as employee number as this is not yet supported.

    If an answer is helpful, please click on 130616-image.png or upvote 130671-image.png which might help other community members reading this thread.

    0 comments No comments