Skip to main content

ne-lid

Language identification for Northeast Indian languages.

11 languages · 99.09% accuracy · fastText · CC-BY-4.0

Install

pip install ne-lid

Usage

from ne_lid import NELID

model = NELID()  # downloads from HuggingFace on first run

# Single prediction
result = model.predict('Ki paidbah shnong ki la ia shim bynta')
print(result)  # {'lang': 'kha', 'score': 0.9999}

# Top-3 predictions
results = model.predict('Ka sngi ka lieh', k=3)
print(results)

# List supported languages
model.languages()

Supported Languages

Code Language Accuracy
asm Assamese 100%
brx Bodo 99%
eng English 98%
grt Garo 100%
hin Hindi 97%
kha Khasi 99%
trp Kokborok 100%
mni Meitei 100%
lus Mizo 99%
nag Nagamese 100%
njz Nyishi 99%

Overall test accuracy: 99.09%

Metadata

Release files for ne-lid 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ne-lid 1.0.1
File Size Uploaded Provenance
ne_lid-1.0.1.tar.gz 2.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ne-lid 1.0.1
File Interpreter ABI Platform
ne_lid-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.0 kB

Release files / ne_lid-1.0.1.tar.gz

Download URL ne_lid-1.0.1.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0fa3478ed20c2aca7f4b2a1d454a1fd1e1b2d706887b9360e8f83a66758167e8
BLAKE2b-256 checksum
How to use checksums
e62e4f1093bcf50245e5a602e820c7d359649b01f5ade1cd60279c5dec4d0c41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.10

Release files / ne_lid-1.0.1-py3-none-any.whl

Download URL ne_lid-1.0.1-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
682114df57990c48ff646f7e831be927ac880b5ebf159a259bebddd7f288e03e
BLAKE2b-256 checksum
How to use checksums
b423370c0edda3d96d9bea584485cd9eeffa25fe710811ecf67767ed44f90b10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.10

Security for ne-lid 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page