Skip to main content
https://travis-ci.org/snipsco/snips-nlu.svg?branch=develop https://img.shields.io/pypi/v/snips-nlu.svg?branch=develop https://img.shields.io/pypi/pyversions/snips-nlu.svg?branch=develop https://codecov.io/gh/snipsco/snips-nlu/branch/develop/graph/badge.svg

Snips NLU (Natural Language Understanding) is a Python library that allows to parse sentences written in natural language and extracts structured information.

Installing

pip install snips-nlu

We currently have pre-built binaries (wheels) for snips-nlu and its dependencies for MacOS and Linux x86_64. If you use a different architecture/os you will need to build these dependencies from sources which means you will need to install setuptools_rust and Rust before running the pip install snips-nlu command.

A simple example

Let’s take an example to illustrate the main purpose of this lib, and consider the following sentence:

"What will be the weather in paris at 9pm?"

Properly trained, the Snips NLU engine will be able to extract structured data such as:

{
   "intent": {
      "intentName": "searchWeatherForecast",
      "probability": 0.95
   },
   "slots": [
      {
         "value": "paris",
         "entity": "locality",
         "slotName": "forecast_locality"
      },
      {
         "value": {
            "kind": "InstantTime",
            "value": "2018-02-08 20:00:00 +00:00"
         },
         "entity": "snips/datetime",
         "slotName": "forecast_start_datetime"
      }
   ]
}

Documentation

To find out how to use Snips NLU please refer to our documentation, it will provide you with a step-by-step guide on how to use and setup our library.

Contributing

Please see the Contribution Guidelines.

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-0.13.0.tar.gz (8.2 MB view details)

Uploaded Source

Built Distribution

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

snips_nlu-0.13.0-py2.py3-none-any.whl (8.3 MB view details)

Uploaded Python 2Python 3

File details

Details for the file snips_nlu-0.13.0.tar.gz.

File metadata

  • Download URL: snips_nlu-0.13.0.tar.gz
  • Upload date:
  • Size: 8.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for snips_nlu-0.13.0.tar.gz
Algorithm Hash digest
SHA256 d225b75d5b303993d9daddb1f279e18a7c74637935b3a2b728b92f86334ad4e7
MD5 903950fc368dd28f0271e66c1d76e71a
BLAKE2b-256 92d2e81c6199b256a824955515bcb562d34e89473c1b32cd41cbb1c7aa07ebcc

See more details on using hashes here.

File details

Details for the file snips_nlu-0.13.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for snips_nlu-0.13.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 897e4bcf3e3b9f0a4c69f0422850cadd57daf12df663a8f1b0f4ca8789e56863
MD5 52bf445cb17b25711eced8628f6c37a0
BLAKE2b-256 74c0d380e06181fdc26bb83a529eac11ebb657af5025cc60cb0ba647f0eb2eef

See more details on using hashes here.

Release history Release notifications | RSS feed

0.20.2

2 files

0.20.1

2 files

0.20.0

2 files

0.19.8

2 files

0.19.7.1

2 files

0.19.7

2 files

0.19.6

2 files

0.19.5

2 files

0.19.4

2 files

0.19.3

2 files

0.19.2

2 files

0.19.1

2 files

0.19.0

2 files

0.18.0

2 files

0.17.4

2 files

0.17.3

2 files

0.17.2

2 files

0.17.1

2 files

0.17.0

2 files

0.16.5

2 files

0.16.4

2 files

0.16.2

2 files

0.16.1

2 files

0.16.0

2 files

0.15.1

2 files

0.15.0

2 files

0.14.0

2 files

0.13.5

2 files

0.13.4

2 files

0.13.3

2 files

0.13.2

2 files

This release

0.13.0 This release

2 files

0.12.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page