Name Analysis & Prediction Engine
Project description
EthniData: State-of-the-Art Name Analysis (Phase 2)
EthniData is the industry-leading engine for cultural and nationality name analysis. In Phase 2, we've introduced advanced explainability features and massive data integration capabilities.
Installation
pip install ethnidata
🔥 NEW in Phase 2: Explainability & Hugging Face
EthniData now helps you understand why a prediction was made through pattern recognition and morphology detection.
Basic Usage
from ethnidata import EthniData
# 1. Initialize Engine
ed = EthniData()
# 2. Predict with Explainability
result = ed.predict_nationality("Giovanni", explain=True)
print(f"Name: Giovanni")
print(f"Prediction: {result['nationality']} (Confidence: {result['confidence']:.2f})")
print(f"Explanation: {result['explanation']}")
Verified Output
Name: Giovanni
Prediction: Italian (Confidence: 0.98)
Explanation: Pattern 'ovanni' detected; strongly associated with Italian nomenclature (Morphology Match: 95%).
Features
- Explainable AI: Shannon entropy-based uncertainty quantification and word-pattern matching.
- Ambiguity Scoring: Identify when a name could belong to multiple cultural groups.
- Hugging Face Hub: Seamlessly load and save datasets to the HF Hub for collaborative research.
- Massive Coverage: Powered by a 5.9M+ record cross-cultural name database.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 ethnidata-4.3.0.tar.gz.
File metadata
- Download URL: ethnidata-4.3.0.tar.gz
- Upload date:
- Size: 33.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a006e6a815d642bf16b9016da89cd2344bca327329ca9f4cceb44fb5966e05d
|
|
| MD5 |
c6cc84b9d6c0dd3b5d14bed0ad0e7d67
|
|
| BLAKE2b-256 |
3da6641c381a9a4724d39c53bc08a5c8d6ad8e6b3a8cb9864e9ed8c1770ed973
|
File details
Details for the file ethnidata-4.3.0-py3-none-any.whl.
File metadata
- Download URL: ethnidata-4.3.0-py3-none-any.whl
- Upload date:
- Size: 56.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac7e5d31bb01e0363a14cfdce1ec0021d982642a265dffb491ee25dfed2af5dd
|
|
| MD5 |
a725e4e4a56c4e17a6f552d911705f2e
|
|
| BLAKE2b-256 |
f1c9c9a0d9c1ee49e1186a40dc8e52d4b28a014a540320769250960dc2410634
|