Simple and stupid name extraction
Project description
nametract
Simple python package to extract everything that looks like a name from the text. Extremely unreliable. Might work for you if you don't care about possible errors. Currently in development.
from nametract import extract
extract("My name is Peter, and I love Nancy Brown") # ["Peter", "I", "Nancy Brown"]
extract("My name is Peter, and I love Nancy Brown", minimal_name_size=2) # ["Peter", "Nancy Brown"]
extract("My name is Peter, and I love Nancy Brown", ignore_sentence_start=False) # ["My", "Peter", "I", "Nancy Brown"]
extract("С коня сошел Иван Зайцев-Кабачков") # ["Иван Зайцев-Кабачков"]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nametract-1.0.0.tar.gz
(3.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nametract-1.0.0.tar.gz.
File metadata
- Download URL: nametract-1.0.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.9 CPython/3.9.5 Linux/5.11.0-34-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ccb1986aef3fc8b558639509d18875ef1a3c895913a8675027dc197e90fef57
|
|
| MD5 |
c975c15349bb8c697bf714a8d6052cd9
|
|
| BLAKE2b-256 |
726bc333158622c8aedd80ddd64c56563f5cdd34ef88c27f2b5591afe990a3bd
|
File details
Details for the file nametract-1.0.0-py3-none-any.whl.
File metadata
- Download URL: nametract-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.9 CPython/3.9.5 Linux/5.11.0-34-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0738e94158bace0e080c711c1b66d78b80861041339b7da74e358434793a8cb6
|
|
| MD5 |
7f314eb5ea670495cdaa8dab5eccd236
|
|
| BLAKE2b-256 |
a4c8d7c849456ac7a86d58e1d804d5550ec6c727a185401e11b96fc3caeb5908
|