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.4.0.tar.gz (16.4 kB view details)

Uploaded Source

Built Distributions

linguars-0.4.0-cp37-abi3-win_amd64.whl (73.0 MB view details)

Uploaded CPython 3.7+ Windows x86-64

linguars-0.4.0-cp37-abi3-win32.whl (72.9 MB view details)

Uploaded CPython 3.7+ Windows x86

linguars-0.4.0-cp37-abi3-musllinux_1_2_x86_64.whl (74.5 MB view details)

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

linguars-0.4.0-cp37-abi3-musllinux_1_2_i686.whl (74.5 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.2+ i686

linguars-0.4.0-cp37-abi3-musllinux_1_2_armv7l.whl (74.5 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.2+ ARMv7l

linguars-0.4.0-cp37-abi3-musllinux_1_2_aarch64.whl (74.5 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.2+ ARM64

linguars-0.4.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (74.3 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ x86-64

linguars-0.4.0-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (74.7 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ s390x

linguars-0.4.0-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (74.7 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ppc64le

linguars-0.4.0-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl (74.8 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ppc64

linguars-0.4.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (74.2 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ARMv7l

linguars-0.4.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (74.2 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ARM64

linguars-0.4.0-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (74.3 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.12+ i686

linguars-0.4.0-cp37-abi3-macosx_11_0_arm64.whl (73.7 MB view details)

Uploaded CPython 3.7+ macOS 11.0+ ARM64

linguars-0.4.0-cp37-abi3-macosx_10_7_x86_64.whl (73.3 MB view details)

Uploaded CPython 3.7+ macOS 10.7+ x86-64

File details

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

File metadata

  • Download URL: linguars-0.4.0.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for linguars-0.4.0.tar.gz
Algorithm Hash digest
SHA256 6589ebf158929dce9fce3933467659e913882cda41c4b9f6c8b3afaccfff259b
MD5 090b9e7a60300ebfa0b726ac36611683
BLAKE2b-256 2ba16ae895bfd5ecbd4a1585576bcab28f837c664e6f321c0fc8ed1678951d28

See more details on using hashes here.

File details

Details for the file linguars-0.4.0-cp37-abi3-win_amd64.whl.

File metadata

  • Download URL: linguars-0.4.0-cp37-abi3-win_amd64.whl
  • Upload date:
  • Size: 73.0 MB
  • Tags: CPython 3.7+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for linguars-0.4.0-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 525d3faeb4b4c5d6cc100b2b11e52eb7b722009629d86d6cf3d6cf1e59bc1e78
MD5 7a6c2f9285a40fb97711c08e64274462
BLAKE2b-256 f5593999f88a524ea567a40bd09dda1fa01f3448642d51639158995b90d485f3

See more details on using hashes here.

File details

Details for the file linguars-0.4.0-cp37-abi3-win32.whl.

File metadata

  • Download URL: linguars-0.4.0-cp37-abi3-win32.whl
  • Upload date:
  • Size: 72.9 MB
  • Tags: CPython 3.7+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for linguars-0.4.0-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 b6fd6308397556a6ccccb8f359d958554089977ddc5c244c34ee80bda331bf32
MD5 30852a3f9d1ddb0070cddbd899d46d75
BLAKE2b-256 10c9dab64b6670542130024c3944d68ccb744d3e4716673d97452d8df63fbef2

See more details on using hashes here.

File details

Details for the file linguars-0.4.0-cp37-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for linguars-0.4.0-cp37-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 dee5364f499a95d9a8aba3bb22204f2ee936ad0c64330b69bbbb4b41b3cbcadc
MD5 c004612609a0fede42d4b1dfe655ab7a
BLAKE2b-256 9aff2c09735c7ce5f4348a1fbff921095c23a6225f8e7e16af8f4d2cb685126b

See more details on using hashes here.

File details

Details for the file linguars-0.4.0-cp37-abi3-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for linguars-0.4.0-cp37-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 4c77442abf20fa0842e608cb655628ca978e334a8108049868983913819e7e1f
MD5 0a7faa27edfa60c055e13f72608d5fb6
BLAKE2b-256 b40b5a886bbd1e684271c82f70bb0bb9532671aed9d2c348e2fd925d5d969c2b

See more details on using hashes here.

File details

Details for the file linguars-0.4.0-cp37-abi3-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for linguars-0.4.0-cp37-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 0710a6afaf3e93d764a92f45c5e00a0ab3970c777ff8b13c769612f0b7c0550b
MD5 0711bc7d28ed227886566c336127a1b8
BLAKE2b-256 c408ef807b8a9fd52b6cf328e8b5e9f4a9a18f01c7ae0bd6ef5cc295ea67ac2d

See more details on using hashes here.

File details

Details for the file linguars-0.4.0-cp37-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for linguars-0.4.0-cp37-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3b25abea3cfa9c06a2a21a5ce33ce9c0e72db07b30756885be26aa5314e28cd4
MD5 9721820fe3bc5eb916c1b2e35302a6b6
BLAKE2b-256 e41be665f555c647749e0cd6a1c220083afb5cc9a2e2fa84f3a1a77e474366e1

See more details on using hashes here.

File details

Details for the file linguars-0.4.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for linguars-0.4.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 849704d016020e5920b22b47dc9bf281470b31b92af7708927b367b7aa07b6ac
MD5 f1350a4e3a385564f3a3bd39f49246d0
BLAKE2b-256 83b7fdb6922b339300b8eb9a48347a7a19c8c893f5f32155fff355b146872959

See more details on using hashes here.

File details

Details for the file linguars-0.4.0-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for linguars-0.4.0-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 707840ba9beb175a80cea80d057ef8e945426431a0967a42dbda1e946b33fc8a
MD5 f12e9943f81cf73be3dc35e65bd7f6a3
BLAKE2b-256 2c3ba951b6aebb742e7b7b812d2671d72f33dafaa90f06c610a16326a4cda650

See more details on using hashes here.

File details

Details for the file linguars-0.4.0-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for linguars-0.4.0-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 f05dc9fc9425b6134ccf44918d2ff6971379b2f053bdc56570093c9a2a9948a5
MD5 5af520859509f37e2362983e74409857
BLAKE2b-256 6f45df505704df0a96578440ce0f9f51acc1dc349599e5cddad58b763d7c101b

See more details on using hashes here.

File details

Details for the file linguars-0.4.0-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl.

File metadata

File hashes

Hashes for linguars-0.4.0-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 85741ccdc328d5b2ae5ae48b6a27f7a4a89c0195264356fc60d78b982fe93b59
MD5 ca70a68e81da5a3622bf8a2c975005d0
BLAKE2b-256 9894c687fe721b57f9e05fc2dc5003505c9f5c269dc6f6877f4320bc14b8a6e9

See more details on using hashes here.

File details

Details for the file linguars-0.4.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for linguars-0.4.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 33ade3e5688bcf6378c1c72357bcd8cecc2a3c1c042fc56083d96703110025b9
MD5 66d900522e8cd1b7c05565ee20c47c09
BLAKE2b-256 18b33e07a6fb1cf8bad4e0d8cdb8d87c380e87841bd9c8fab881f3a3661e859b

See more details on using hashes here.

File details

Details for the file linguars-0.4.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for linguars-0.4.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e56518a33d99513b140e1c370a9faad66b992a88f276697466aebb05dbb4570b
MD5 f36c8b28d017328c5d87d5617d9268c2
BLAKE2b-256 552afac9eedb447fff37f8902086be7d389fdc82b51353efc3a63d67f53f3b3e

See more details on using hashes here.

File details

Details for the file linguars-0.4.0-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for linguars-0.4.0-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 2052bd46ccb2b9a02c24121e41e41447c556a8a59ea2c12ea25140caab856dd0
MD5 bb381b7669d7c35d3ea3f79faa0dc20a
BLAKE2b-256 8a5ec937450b3929089356fb639284b0bd4ba7bb20092aef2c7b343a425b2615

See more details on using hashes here.

File details

Details for the file linguars-0.4.0-cp37-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for linguars-0.4.0-cp37-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bfa2a3fa9fec840989f15efe5a15fb0ed5add1bee0197f162b81e347a0f13b10
MD5 5936f8d74c9c520564956bb4324d579f
BLAKE2b-256 bb3ae53b61d45272e68bf1c2febed0f67eca55422f9ac15af451131752b51895

See more details on using hashes here.

File details

Details for the file linguars-0.4.0-cp37-abi3-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for linguars-0.4.0-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 cecbda6bf674e5b0ea95f8254da685d9329d669768b9fd5d06bff0c5ea88bc1b
MD5 67126b19d31e2a06d1152f3c31d05826
BLAKE2b-256 f9df9be99e00194295e27a09e5a34689daa9c979df78d3231e1ba4db82070782

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