Person Name Extraction

Automatically identify and extract person names from unstructured text. Our API recognizes full names, nicknames, titles, and name variations across different contexts.

Key Points

  • Extract full names, first names, and last names from text
  • Handle titles (Dr., Mr., Mrs.) and suffixes (Jr., III)
  • Recognize names in various formats and contexts
  • Useful for CRM enrichment, document processing, and analytics
  • Returns normalized name forms when possible

Example

javascript
const response = await fetch('https://api.entity-detector.com/v1/analyze', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    text: 'Dr. Jane Smith and Mr. John Doe attended the conference.'
  })
});

const { entities } = await response.json();
console.log(entities.persons); // ["Dr. Jane Smith", "Mr. John Doe"]

Frequently Asked Questions

Can it extract names from multiple languages?

Best results are achieved with English names. Names from other languages and scripts may be extracted with varying accuracy depending on the text context.

How does it handle ambiguous names?

The API uses context to determine if a word is a name. Common first names used as regular words may be incorrectly identified. Review results for your specific use case.

Try Entity Extraction Now

See entity extraction in action with our interactive demo or start building with the API.

Related Resources