Recognize people's names in text

Powerful transformation of text into structured data: what are the entities mentioned in text, what do we know about them.
Recognize people's names in text
GetPeopleNames
input: string[] Documents, enum DocumentFormat
output: Entities[] PeopleNamesResult

Takes as an input a list of Documents and their DocumentFormat : text or URL.

Extracts names of people from the input documents.

Sample code in C#:

PingarAPIRequest request = new PingarAPIRequest();
request.AppID = "your app id";
request.AppKey = "your app key";
request.EntityExtraction = new EntityExtractionRequest();
request.EntityExtraction.Documents = new string[] { "document text" };
request.EntityExtraction.DocumentsFormat = DocumentFormat.Text;
request.Language = Language.EN;

PingarAPIServiceSoapClient pingarAPI = new PingarAPIServiceSoapClient();
PingarAPIResponse response = pingarAPI.GetPeopleNames(request);
int count = 0;
if (response.Error == null)
{
    foreach (Entities document in response.EntityExtraction.PeopleNamesResult)
    {
        Console.WriteLine("Names for Document " + count);
        foreach (Entity entity in document.entities)
        {
            Console.WriteLine(entity.Title);
        }
        count++;
    }
}

 
VIEW DEMO OF ENTITY EXTRACTION COMPONENTS
 

Explore Pingar


Share Points CIO Apache Solr BizSpark