Skip to main content

Lightweight language detection (rule-based + ML hybrid)

Project description

pylangdetect

Lightweight language detection (rule-based + ML hybrid).

Installation

pip install pylangdetect

Usage

from pylangdetect import detect_language, is_english

detect_language("Hello world")  # "en"
is_english("Hello world")  # True

License

MIT

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

pylangdetect-0.1.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pylangdetect-0.1.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file pylangdetect-0.1.0.tar.gz.

File metadata

  • Download URL: pylangdetect-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pylangdetect-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f7121966a083afbc0d3dfdc4bc00ec43a036b0130f869f5b5d5e476c4f3551af
MD5 bc40c849b36838c51584d805ee206de6
BLAKE2b-256 b045fd6c19413b40428474f9cf8f64573394a6d70c496181f691e3722523a46b

See more details on using hashes here.

File details

Details for the file pylangdetect-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pylangdetect-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pylangdetect-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 94981ba3e055114ce044c0f6070d0c1be69902a0ca153774b13abf70312513cf
MD5 a0a12ee6f105552e294d8df29c2343a4
BLAKE2b-256 1765779f57868f846e57b1dd59c2a66e2d1f5a24842246ef29ed5172d426e715

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page