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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.6+ Windows x86-64

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

Uploaded CPython 3.6+ Windows x86

linguars-0.3.0-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (101.7 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ s390x

linguars-0.3.0-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (101.6 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ppc64le

linguars-0.3.0-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl (101.6 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ppc64

linguars-0.3.0-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (101.3 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ARMv7l

linguars-0.3.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (101.3 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ARM64

linguars-0.3.0-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl (101.4 MB view details)

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

linguars-0.3.0-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl (101.4 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.5+ i686

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

Uploaded CPython 3.6+ macOS 11.0+ ARM64

linguars-0.3.0-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.0.tar.gz.

File metadata

  • Download URL: linguars-0.3.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for linguars-0.3.0.tar.gz
Algorithm Hash digest
SHA256 13f128e7bcbf63c997946373975c28a76147c72e6a722ccd7e5ff4563afce043
MD5 b56a9cb8610138dc2dbab00238db4b28
BLAKE2b-256 7214837232e19dc104ad2b1e6680e74c4bda3ce1071ef80a16b70a4e08f0081c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: linguars-0.3.0-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.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for linguars-0.3.0-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 db424670d8718bcf29a3f40106e0897a60933945c18631f87c22bf9089126d7f
MD5 88b9eee11df32296944f168e17937236
BLAKE2b-256 93325dbc58a45cc1ef149917f8f73f436125b845503014fd223ddab9573f3f14

See more details on using hashes here.

File details

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

File metadata

  • Download URL: linguars-0.3.0-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.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for linguars-0.3.0-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 60ab7ed723414034634b8df40e7713b5d036596a3a63f3358873a1a46c6a0ea9
MD5 0bc49ecb0d740dfd79f8ef98cf1c141f
BLAKE2b-256 f07eca65441e4e4747da7ab8279d8dfa02953866d121bd59f2c423be5b6e9281

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for linguars-0.3.0-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 0eab5bd43feec4618c49a4490397c326f7ab5386ccba03d7c881d0b362914a88
MD5 e8fd1d37953b03e183b0e9e8121d64a1
BLAKE2b-256 a2204e08a95e4183b97b7cd93c5e6c150cdd89af5e2e6e22cdeeedeba6203824

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for linguars-0.3.0-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 55cc12b129ebc906ae9582e721dadae54b97193a8f435448fd4f41b277fe6afb
MD5 853fb2f946a70022cdb636100dfb35d0
BLAKE2b-256 e9b4b20bfd9384058840434ad89e80c72d53fbcf271158f1a1f22784a9e07d67

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for linguars-0.3.0-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 427508bc47ba18e185ba0add4fb1ef2ecb36c6b61fa5c8675d85527ba611e353
MD5 14a9aadf568f7fdd7b423f2b86922a9d
BLAKE2b-256 73b31a138cb95c78874d99f170c4f5c6e2945e99b516cfa03d732a0bdfcf97b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for linguars-0.3.0-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 70a6839b51f852abf2e807a14b17c6c87d7150cac785b55d2570eebd10ed25b8
MD5 e54b10a639d485931f57a9f9104730ff
BLAKE2b-256 c64a2f3edc612254a7583b49b0fefb2e1fe7abe398504272466e93a200b5c9f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for linguars-0.3.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c94f2776e6c146f338b0fcc2c68f87e75a4cbe67e15ed02d154fcbc2f06b2930
MD5 6ba52e6c27dfdc0e4be115e77341dbab
BLAKE2b-256 677b7f1da5bfd6792096aa9047aa178e8cf221a7f6cfe9bc26094787dd9fb603

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for linguars-0.3.0-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c4e302e29b780f9fa9bd8400b3b4dad99e44ad2a48d7f54a29e1f6f05eaaab2b
MD5 4483ff4336f45877da072444f4e6818d
BLAKE2b-256 9b49d8a22be92ac1916c5962c704009ffc80a11a682512718948667e66be59d1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: linguars-0.3.0-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl
  • Upload date:
  • Size: 101.4 MB
  • Tags: CPython 3.6+, manylinux: glibc 2.5+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for linguars-0.3.0-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 be5731814a292b4e354544617f85f587cdfc6ebb615931ae467d65897a87f45a
MD5 fa21e4525bd44e3e8c0281aae6d86ca4
BLAKE2b-256 0660d1297bbaa229984b1d8dffa39765aa489199bc91456143a73ab42b75e352

See more details on using hashes here.

File details

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

File metadata

  • Download URL: linguars-0.3.0-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.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for linguars-0.3.0-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7b30d66fb32a2b9062fe0792da8774efd3a210522e15dd2dc59f4140b339c4e7
MD5 1217219226fef31191cdee34985bcf13
BLAKE2b-256 9d17a397597877a2bce97b2fe146c67dacec61867bc27af047eb5b83fce24062

See more details on using hashes here.

File details

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

File metadata

  • Download URL: linguars-0.3.0-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.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for linguars-0.3.0-cp36-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 0c12eff359e6f711001cb145b0325e44c007510c810d4a4d13cb02832ffbbb76
MD5 ac949fb42300995c2204f8775238e706
BLAKE2b-256 fcf55f366c8bc84b0603380667ff1b032eaa0def7f46248ffa253b23edf264ad

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