Skip to main content

lingua-rs Python binding

Project description

lingua-py

CI PyPI

lingua-rs Python binding. An accurate natural language detection library, suitable for long and short text alike.

Installation

pip install linguars

Usage

import linguars


detector = linguars.LanguageDetector()
print(detector.detect('我们中出了一个叛徒'))
print(detector.confidence('我们中出了一个叛徒'))

License

This work is released under the MIT license. A copy of the license is provided in the LICENSE file.

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

linguars-0.3.2.tar.gz (5.4 kB view details)

Uploaded Source

Built Distributions

linguars-0.3.2-cp36-abi3-win_amd64.whl (100.4 MB view details)

Uploaded CPython 3.6+ Windows x86-64

linguars-0.3.2-cp36-abi3-win32.whl (100.4 MB view details)

Uploaded CPython 3.6+ Windows x86

linguars-0.3.2-cp36-abi3-musllinux_1_2_x86_64.whl (101.6 MB view details)

Uploaded CPython 3.6+ musllinux: musl 1.2+ x86-64

linguars-0.3.2-cp36-abi3-musllinux_1_2_i686.whl (101.6 MB view details)

Uploaded CPython 3.6+ musllinux: musl 1.2+ i686

linguars-0.3.2-cp36-abi3-musllinux_1_2_armv7l.whl (101.7 MB view details)

Uploaded CPython 3.6+ musllinux: musl 1.2+ ARMv7l

linguars-0.3.2-cp36-abi3-musllinux_1_2_aarch64.whl (101.6 MB view details)

Uploaded CPython 3.6+ musllinux: musl 1.2+ ARM64

linguars-0.3.2-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (101.8 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ s390x

linguars-0.3.2-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (101.7 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ppc64le

linguars-0.3.2-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl (101.7 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ppc64

linguars-0.3.2-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (101.4 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ARMv7l

linguars-0.3.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (101.4 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ARM64

linguars-0.3.2-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl (101.5 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.5+ x86-64

linguars-0.3.2-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl (101.5 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.5+ i686

linguars-0.3.2-cp36-abi3-macosx_11_0_arm64.whl (101.3 MB view details)

Uploaded CPython 3.6+ macOS 11.0+ ARM64

linguars-0.3.2-cp36-abi3-macosx_10_7_x86_64.whl (100.6 MB view details)

Uploaded CPython 3.6+ macOS 10.7+ x86-64

File details

Details for the file linguars-0.3.2.tar.gz.

File metadata

  • Download URL: linguars-0.3.2.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for linguars-0.3.2.tar.gz
Algorithm Hash digest
SHA256 b5e5f271973925b65622fa5c5eb191129892a4dac9dfeeb544dc53ede3cd9ef8
MD5 f77e037e9942ad8ed3824453bb4d0f65
BLAKE2b-256 143fb698041a11578b8ba95093911371bff974f7503841e60d0f4e9eed9df790

See more details on using hashes here.

File details

Details for the file linguars-0.3.2-cp36-abi3-win_amd64.whl.

File metadata

  • Download URL: linguars-0.3.2-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 100.4 MB
  • Tags: CPython 3.6+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for linguars-0.3.2-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 31ff7f311207e263c955d593f6713c31e8f462c753bb9756c347b41b53e0439a
MD5 f5e796b9bcd11d1b5c501e48108019b6
BLAKE2b-256 47d06d2f7aaced098f61f77efb45e6462371670078f08fd28e17e85bab63ae2c

See more details on using hashes here.

File details

Details for the file linguars-0.3.2-cp36-abi3-win32.whl.

File metadata

  • Download URL: linguars-0.3.2-cp36-abi3-win32.whl
  • Upload date:
  • Size: 100.4 MB
  • Tags: CPython 3.6+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for linguars-0.3.2-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 eb7e6f846a51dee0c1b08bd3098f8851f65091c71f973537433ea6dcab38f9ec
MD5 60ab8fb2cf6338605adeea602ec76ef6
BLAKE2b-256 c82541ac60e3e66a95ad98cfd2ff233d417fcd6b2fc2cbe96094eab80bc41852

See more details on using hashes here.

File details

Details for the file linguars-0.3.2-cp36-abi3-musllinux_1_2_x86_64.whl.

File metadata

  • Download URL: linguars-0.3.2-cp36-abi3-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 101.6 MB
  • Tags: CPython 3.6+, musllinux: musl 1.2+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for linguars-0.3.2-cp36-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8237c143cb532b437c7de8a788319f3a7abcd4a3c5338f2021e1e27be05fd376
MD5 0ea5f7628dceee7dc359e3752068a456
BLAKE2b-256 d438f7553c5e065ce1adc2e40982b37ea518fb8b9d0c0d9db6bc47a5639f1f09

See more details on using hashes here.

File details

Details for the file linguars-0.3.2-cp36-abi3-musllinux_1_2_i686.whl.

File metadata

  • Download URL: linguars-0.3.2-cp36-abi3-musllinux_1_2_i686.whl
  • Upload date:
  • Size: 101.6 MB
  • Tags: CPython 3.6+, musllinux: musl 1.2+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for linguars-0.3.2-cp36-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 4bc429a90c702171221aa8cde7ec25169326c62bd587be91dc20ee36cae40967
MD5 91b205126a42b5c9f29b5ce01dba9d15
BLAKE2b-256 4b2d9e8ba0cab48dd2e1b1c31c795dd96717434547f5baa1f7c8ddf067fde291

See more details on using hashes here.

File details

Details for the file linguars-0.3.2-cp36-abi3-musllinux_1_2_armv7l.whl.

File metadata

  • Download URL: linguars-0.3.2-cp36-abi3-musllinux_1_2_armv7l.whl
  • Upload date:
  • Size: 101.7 MB
  • Tags: CPython 3.6+, musllinux: musl 1.2+ ARMv7l
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for linguars-0.3.2-cp36-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 319e66114e7a8443f7a1775d12a1c289bc855857d7e53f8d851da8d22e166f85
MD5 bb01bc791eebe374b2f2766733de09b7
BLAKE2b-256 0e80ea4c97e0716dbc08dcb5496fb0b2fff335163f021737c8d66baf6241661e

See more details on using hashes here.

File details

Details for the file linguars-0.3.2-cp36-abi3-musllinux_1_2_aarch64.whl.

File metadata

  • Download URL: linguars-0.3.2-cp36-abi3-musllinux_1_2_aarch64.whl
  • Upload date:
  • Size: 101.6 MB
  • Tags: CPython 3.6+, musllinux: musl 1.2+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for linguars-0.3.2-cp36-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3aef6f8c2882713533fc3b34bf0e75fcdbd6ec5a072252f4dd789a70e4ae4b6c
MD5 8a00661beede0e13c671b18bc79e17c4
BLAKE2b-256 11eeed90d25e7f18066607285ec6341d740e9f9b54f0354cbc6e2e8af38e9c5f

See more details on using hashes here.

File details

Details for the file linguars-0.3.2-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

  • Download URL: linguars-0.3.2-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
  • Upload date:
  • Size: 101.8 MB
  • Tags: CPython 3.6+, manylinux: glibc 2.17+ s390x
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for linguars-0.3.2-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 c44f83e04420fee5463b3064e2050cca8938fb4ac30622b0b4e022d08753dbbb
MD5 69135fe3ea3a0e442d6be973f916fa1c
BLAKE2b-256 b2d6361a1cdb6c4c644a980d304cdbc14eea826b71e880428169544939d1eb41

See more details on using hashes here.

File details

Details for the file linguars-0.3.2-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

  • Download URL: linguars-0.3.2-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
  • Upload date:
  • Size: 101.7 MB
  • Tags: CPython 3.6+, manylinux: glibc 2.17+ ppc64le
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for linguars-0.3.2-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 abd51bea656cb302cf1d94a1ba7a6ce462da069afe3804d8b953ce418095458c
MD5 268ef500c9c4865d4daf54f3edea1c6f
BLAKE2b-256 5371edc302b383c1d3deee5587dbe3970cce8ce51e2571a4c1d2398cfd5582ae

See more details on using hashes here.

File details

Details for the file linguars-0.3.2-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl.

File metadata

  • Download URL: linguars-0.3.2-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
  • Upload date:
  • Size: 101.7 MB
  • Tags: CPython 3.6+, manylinux: glibc 2.17+ ppc64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for linguars-0.3.2-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 0ad4bbf8f28d65ab462f26cd407b84a36e334fac7be1d465be60d3d05b4d9914
MD5 8293c03d3522aa253795ffa3a1d4b1ef
BLAKE2b-256 9fb9533ac856389bbf8441ada6b86aa3d4340e33c012e87934eedf0005da26c8

See more details on using hashes here.

File details

Details for the file linguars-0.3.2-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

  • Download URL: linguars-0.3.2-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
  • Upload date:
  • Size: 101.4 MB
  • Tags: CPython 3.6+, manylinux: glibc 2.17+ ARMv7l
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for linguars-0.3.2-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 62b49c358180cc237ec76681b32ff17071f73fe9ee72d746427dd96edecfb35b
MD5 9799d408eb04adba112ebb9b9ad330f8
BLAKE2b-256 c8a19983aa5b71b54ac19319fc9d56a755a06f81759e1d795d61e7d79ebfe32c

See more details on using hashes here.

File details

Details for the file linguars-0.3.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

  • Download URL: linguars-0.3.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
  • Upload date:
  • Size: 101.4 MB
  • Tags: CPython 3.6+, manylinux: glibc 2.17+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for linguars-0.3.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 eb28263c927301f3ce4b016e0be4b0f5546addbfb773c9a33b843097c32c9860
MD5 09f04bcd826a73a6d1f3a827c6e11943
BLAKE2b-256 b261e820d98f737e7aa5aaa788751aa617bd5ebdd4d588281def96144eeec6a0

See more details on using hashes here.

File details

Details for the file linguars-0.3.2-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

  • Download URL: linguars-0.3.2-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
  • Upload date:
  • Size: 101.5 MB
  • Tags: CPython 3.6+, manylinux: glibc 2.5+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for linguars-0.3.2-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 dffd1d553e53b43569d2d20723bc9aa866fffe5eb480394a1a102afc154c781c
MD5 8cd434739c266dce3d70a49c46aa275a
BLAKE2b-256 0b46b757ba421385c21fc919e39d28dc2a65ee0afb6ee82f837b6d931125bca9

See more details on using hashes here.

File details

Details for the file linguars-0.3.2-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

  • Download URL: linguars-0.3.2-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl
  • Upload date:
  • Size: 101.5 MB
  • Tags: CPython 3.6+, manylinux: glibc 2.5+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for linguars-0.3.2-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 0b24aa1ecf41f570a48c20fe4970ca3573ffcba50be7bd262c7fbc79d9bcc0cf
MD5 47a83dfccdd6aae6162a96c852709383
BLAKE2b-256 4bd0207b2380498782e084cd7418edb4aaf55fd1f1843dfa91259aa4acbff122

See more details on using hashes here.

File details

Details for the file linguars-0.3.2-cp36-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: linguars-0.3.2-cp36-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 101.3 MB
  • Tags: CPython 3.6+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for linguars-0.3.2-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 00a6c09cbf44f52d5ecdff68b46140a2fd00fec92995ce5ea2a8296bf4867ebe
MD5 3d5cd7e58a9dab50008c48bbbdb13af7
BLAKE2b-256 f83e3a55a60fe72369b0ca3389571a193a2458affb01a1b0caa8cf1ee2cdcf87

See more details on using hashes here.

File details

Details for the file linguars-0.3.2-cp36-abi3-macosx_10_7_x86_64.whl.

File metadata

  • Download URL: linguars-0.3.2-cp36-abi3-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 100.6 MB
  • Tags: CPython 3.6+, macOS 10.7+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for linguars-0.3.2-cp36-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 026e7ed03288533edeacf83e0a60e081adcb45cb1addd94483b0b5a6fa14ff22
MD5 a533794abcbf208cb617f43fc54ee95c
BLAKE2b-256 9a38e590623e31661d8248ad1900c32340c97c0cd63461985131812b9200535b

See more details on using hashes here.

Supported by

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