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.1.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.1.0.tar.gz.
File metadata
- Download URL: nametract-1.1.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 |
ac13c73ae1c9f07eda66a25e2438b058f428d795f804281192a8d0ab99df3bde
|
|
| MD5 |
47c60b404344df3755ed9a94ac59b080
|
|
| BLAKE2b-256 |
79514b13bbd667283db40be2bed4bb980d2acceace1c80e67d13cc046d0ced36
|
File details
Details for the file nametract-1.1.0-py3-none-any.whl.
File metadata
- Download URL: nametract-1.1.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 |
651293bc744fa3d81947c25e4a9bac56a8f7b1814382cc8c5856014a0c6d607b
|
|
| MD5 |
d5f7e179636eaddf65d1a33884d8e6ea
|
|
| BLAKE2b-256 |
636525e86bea18469e63fee3c560c58f45b9def5b23125fd494de5fe089b743f
|