Skip to main content

Python wrapper of the snips-nlu-parsers Rust crate

Project description

Installation

Linux x86 / MacOS (>= 10.11) / Windows

Wheels and source distribution are available for Python >= 3.5

pip install snips-nlu-parsers

Other platforms

This package can be installed via pip from a source distribution. As it contains some rust code, rust must be installed on your machine.

To install Rust, run the following in your terminal, then follow the onscreen instructions:

curl https://sh.rustup.rs -sSf | sh

You will also need the python lib setuptools_rust:

pip install setuptools_rust

Finally, you can install snips-nlu-parsers using pip:

pip install snips-nlu-parsers

Usage

>>> from snips_nlu_parsers import BuiltinEntityParser
>>> import json
>>> parser = BuiltinEntityParser.build(language="en")
>>> parsing = parser.parse("what will be the weather in three days ?")
>>> print(json.dumps(parsing, indent=2))
[
  {
    "value": "in three days",
    "range": {
      "start": 25,
      "end": 38
    },
    "entity": {
      "kind": "InstantTime",
      "value": "2019-02-24 00:00:00 +01:00",
      "grain": "Day",
      "precision": "Exact"
    },
    "entity_kind": "snips/datetime"
  }
]

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

snips_nlu_parsers-0.4.3.tar.gz (6.9 kB view details)

Uploaded Source

Built Distributions

snips_nlu_parsers-0.4.3-cp38-cp38m-win_amd64.whl (5.8 MB view details)

Uploaded CPython 3.8m Windows x86-64

snips_nlu_parsers-0.4.3-cp38-cp38m-win32.whl (4.7 MB view details)

Uploaded CPython 3.8m Windows x86

snips_nlu_parsers-0.4.3-cp38-cp38-macosx_10_9_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

snips_nlu_parsers-0.4.3-cp37-cp37m-win_amd64.whl (5.8 MB view details)

Uploaded CPython 3.7m Windows x86-64

snips_nlu_parsers-0.4.3-cp37-cp37m-win32.whl (4.7 MB view details)

Uploaded CPython 3.7m Windows x86

snips_nlu_parsers-0.4.3-cp37-cp37m-macosx_10_9_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

snips_nlu_parsers-0.4.3-cp36-cp36m-win_amd64.whl (5.8 MB view details)

Uploaded CPython 3.6m Windows x86-64

snips_nlu_parsers-0.4.3-cp36-cp36m-win32.whl (4.7 MB view details)

Uploaded CPython 3.6m Windows x86

snips_nlu_parsers-0.4.3-cp36-cp36m-macosx_10_6_intel.whl (5.7 MB view details)

Uploaded CPython 3.6m macOS 10.6+ intel

snips_nlu_parsers-0.4.3-cp35-cp35m-macosx_10_6_intel.whl (5.7 MB view details)

Uploaded CPython 3.5m macOS 10.6+ intel

File details

Details for the file snips_nlu_parsers-0.4.3.tar.gz.

File metadata

  • Download URL: snips_nlu_parsers-0.4.3.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for snips_nlu_parsers-0.4.3.tar.gz
Algorithm Hash digest
SHA256 90279917ad29f042f7e309a5371907b1d7310e2bdadb7d8f1de205d453266da4
MD5 195fcba81887a998ea4ecdf6a4b3ebfa
BLAKE2b-256 cf550c6e184e997c160c424e8da2f232673da2551fcb09628eb0f94e4f2d150c

See more details on using hashes here.

File details

Details for the file snips_nlu_parsers-0.4.3-cp38-cp38m-win_amd64.whl.

File metadata

  • Download URL: snips_nlu_parsers-0.4.3-cp38-cp38m-win_amd64.whl
  • Upload date:
  • Size: 5.8 MB
  • Tags: CPython 3.8m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for snips_nlu_parsers-0.4.3-cp38-cp38m-win_amd64.whl
Algorithm Hash digest
SHA256 5c29fcc6ae0b7b8ae1d93d5902a7a2fbc526014b44345e0dc0ba3960b7470037
MD5 9e94ed93c674a98f3ccf7fc00b0fa881
BLAKE2b-256 64266fc4ca26acdfa1da4b8bedcd12bc3080351ea4b630a496ad5411f29665e3

See more details on using hashes here.

File details

Details for the file snips_nlu_parsers-0.4.3-cp38-cp38m-win32.whl.

File metadata

  • Download URL: snips_nlu_parsers-0.4.3-cp38-cp38m-win32.whl
  • Upload date:
  • Size: 4.7 MB
  • Tags: CPython 3.8m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for snips_nlu_parsers-0.4.3-cp38-cp38m-win32.whl
Algorithm Hash digest
SHA256 0f464db5d8b93b87310c7009483d30e245b70443d5bc237da95e954c31e900f9
MD5 bf593efbad0c87af3a69d7e32e1b1b7c
BLAKE2b-256 b2024d524b4b684c7f43841ec3ce3a4196a1c7de55e84914321fd41325cb5eb9

See more details on using hashes here.

File details

Details for the file snips_nlu_parsers-0.4.3-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: snips_nlu_parsers-0.4.3-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.8 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for snips_nlu_parsers-0.4.3-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 472c457eec82eab7c632c1fa5023478b61b09df7600782f7b9a59e18d7262e92
MD5 e9c34761628ff9dbe2b476928d9c824d
BLAKE2b-256 744d5ef20dccff1c4ec0620bf22ae1544ac1721d7a4785ae8fd03ad6c04bd91a

See more details on using hashes here.

File details

Details for the file snips_nlu_parsers-0.4.3-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: snips_nlu_parsers-0.4.3-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 5.7 MB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for snips_nlu_parsers-0.4.3-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 95959113f6fcfb1f8b1356e32439e93a7f4e7a9ac3105137b48c510e044aa532
MD5 0c62340ba2c0c3e00fb4cc5a0d6870ec
BLAKE2b-256 a153844eb8c275620d214f92b96154dbb4b2c1733272498eee7f80594868cce2

See more details on using hashes here.

File details

Details for the file snips_nlu_parsers-0.4.3-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: snips_nlu_parsers-0.4.3-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 5.8 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for snips_nlu_parsers-0.4.3-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 26bdeb483ae16e27581c51c37cf5ece9be6c03b7578637ce2d7c1656d598cdc7
MD5 14208efab7a65db680cdc7c444341e58
BLAKE2b-256 8d50a91712f1719a934391d162025b56107241028a491a347ef37f30b2188d37

See more details on using hashes here.

File details

Details for the file snips_nlu_parsers-0.4.3-cp37-cp37m-win32.whl.

File metadata

  • Download URL: snips_nlu_parsers-0.4.3-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 4.7 MB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for snips_nlu_parsers-0.4.3-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 dac0a5462141fd21b03d5f31ae4c6ace9f21b435248f5e202ae9054f4ffa714d
MD5 32b37ca12202242f63eff09bb98713e8
BLAKE2b-256 547baa58e6a1ae51313e2cdf15db544b68f59393cb4a7d93f2d9d5e7a21cd706

See more details on using hashes here.

File details

Details for the file snips_nlu_parsers-0.4.3-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: snips_nlu_parsers-0.4.3-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.8 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for snips_nlu_parsers-0.4.3-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 926613e2e1f290b8666dcad42f92766ae213c54003bf88df2e4fbc79396b111a
MD5 94bee9ec9fd10ea038a2688e5daf822c
BLAKE2b-256 9a118a9866382f786e7c8fe04ee7fd254b28495a56696397312c2789ca8a288d

See more details on using hashes here.

File details

Details for the file snips_nlu_parsers-0.4.3-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: snips_nlu_parsers-0.4.3-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 5.7 MB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for snips_nlu_parsers-0.4.3-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 39bedd5881834658d94c3a3e263325ec852ff18cb6afa3acea124d8390d8984a
MD5 dffd6569b7ac7cb5d90f8857cca388f5
BLAKE2b-256 3123011c963743aeb117e1545b491eff7a3e4682c80868ae9aa9ac6cf43e310d

See more details on using hashes here.

File details

Details for the file snips_nlu_parsers-0.4.3-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: snips_nlu_parsers-0.4.3-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 5.8 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for snips_nlu_parsers-0.4.3-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 36f10766c6fb168366daa99ffffc9edc91d7deb98b21b1f9414c712f14b861ee
MD5 a4d20de075b95d01de22750f16945cda
BLAKE2b-256 4cb3237e06c842bfd47c1fc6dfc5c637ce52954cdb1f5d0c0dc9fdc21a5b4c33

See more details on using hashes here.

File details

Details for the file snips_nlu_parsers-0.4.3-cp36-cp36m-win32.whl.

File metadata

  • Download URL: snips_nlu_parsers-0.4.3-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 4.7 MB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for snips_nlu_parsers-0.4.3-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 fe367e01b437a94831259410cb562d5efa31c8b38db4abaf003c19e1ed2dcec2
MD5 3f702b29385701d63b31a465ff2dc779
BLAKE2b-256 1c973df449894ddfcf684afbf43f4e7be710d4ee3e74fd7d59cee1a14b2b0dbe

See more details on using hashes here.

File details

Details for the file snips_nlu_parsers-0.4.3-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: snips_nlu_parsers-0.4.3-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.8 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for snips_nlu_parsers-0.4.3-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d785101239839a1b5123c40921d60dc0ffd46f964f25c19d3d7a146c4af6652a
MD5 70eeba4ab1173f5fbc33b245ac9d9c44
BLAKE2b-256 4258211522b708acf3c9f11c8b2be9a36fd94a713c0385b6430841fcea055b9f

See more details on using hashes here.

File details

Details for the file snips_nlu_parsers-0.4.3-cp36-cp36m-macosx_10_6_intel.whl.

File metadata

  • Download URL: snips_nlu_parsers-0.4.3-cp36-cp36m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 5.7 MB
  • Tags: CPython 3.6m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for snips_nlu_parsers-0.4.3-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 0395a8c4e627c2a01f7d56ee28a4ef4dfc6ead9c530a5eced7f29ad8246957f7
MD5 35cb03fe69a10e8a1811868510275d2b
BLAKE2b-256 88f71b0d0075de3900c27211c872f87a270957f6802fb28b6465b7fbd5974b14

See more details on using hashes here.

File details

Details for the file snips_nlu_parsers-0.4.3-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

  • Download URL: snips_nlu_parsers-0.4.3-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.8 MB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for snips_nlu_parsers-0.4.3-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 398960a6e072beded20bd53eb0649836434d2a992a87d86702d8f4a1873d659e
MD5 d9645532fd254861f0fe8d2a6dccce28
BLAKE2b-256 da75496847f0b2f747ef1b78e61392c5cc03c2163913ad0de88544030cdafb98

See more details on using hashes here.

File details

Details for the file snips_nlu_parsers-0.4.3-cp35-cp35m-macosx_10_6_intel.whl.

File metadata

  • Download URL: snips_nlu_parsers-0.4.3-cp35-cp35m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 5.7 MB
  • Tags: CPython 3.5m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for snips_nlu_parsers-0.4.3-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 96f0086a33f210ff522cb69b4274e5eac49fa1d3d4f5aa73637bcbbe19b6e038
MD5 276804d1cd4b8b3422344970dbe84cbc
BLAKE2b-256 0524d07a70f56d1a1c31f963b4f649a689960e53961b6fb2f40164aec81de54d

See more details on using hashes here.

File details

Details for the file snips_nlu_parsers-0.4.3-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

  • Download URL: snips_nlu_parsers-0.4.3-cp34-cp34m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.8 MB
  • Tags: CPython 3.4m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for snips_nlu_parsers-0.4.3-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 615ab5ad01cefafb6e16e097a1951896629a78243de5daf4b37b79c1eb7fbc46
MD5 e09e765020f0e6ffb2627fdbac42ac12
BLAKE2b-256 1514fc7668066ba73013ba3b4602549a7bcea01add4e5fdb152da6c8a9434513

See more details on using hashes here.

File details

Details for the file snips_nlu_parsers-0.4.3-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

  • Download URL: snips_nlu_parsers-0.4.3-cp27-cp27mu-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.8 MB
  • Tags: CPython 2.7mu
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for snips_nlu_parsers-0.4.3-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d4bc21ac94cd5c027414db764b86949566c995df22b02215071334fc5f4d60dc
MD5 2d86a55240fb4711d9c001eddb0ff526
BLAKE2b-256 22702eda02c136301dec5da9a7f7e247fb8d1036043c6e3ef0380b66f693b9ac

See more details on using hashes here.

File details

Details for the file snips_nlu_parsers-0.4.3-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

  • Download URL: snips_nlu_parsers-0.4.3-cp27-cp27m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.8 MB
  • Tags: CPython 2.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for snips_nlu_parsers-0.4.3-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7ab39d9f5808a0cb19bfb07568a0dd808513823222a3165a6cfbca8cbbc1ce0e
MD5 328baf02f64c17e907558e6e688d089c
BLAKE2b-256 5f3837495aad26a97491dc0b525a6225828a6b0acd539dae8ac46cc96114bb72

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