Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 744 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 744 Bytes

PyPeopleNames

A python package to extract full western 'people' names from a string

Prerequisites

Requires NLTK and various word sets. These are downloaded automatically from the internet when the function is run to fetch the full sets or updated sets.

Installing

Compatable with Python 3+ only

The package will soon be available in the Python Package Index:

pip install pypeoplenames

Using

Takes a string as an input and returns a list of people names:

names = pypeoplenames(text)

Built With

  • NLTK - The awesome natural language toolkit for understanding word types
  • Enchant - A spellchecking library for Python, used for it's English dictionary