Skip to main content

Snips Natural Language Understanding library

Project description

Snips NLU

.. image::

.. image::

.. image::

.. image::

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


.. code-block:: python

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:

.. code-block:: text

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

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

.. code-block:: json

"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"


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.

* `Snips NLU <>`_
* `Snips NLU Rust <>`_: Rust inference pipeline implementation and bindings (C, Swift, Kotlin, Python)
* `Rustling <>`_: Snips NLU builtin entities parser
* `Snips <>`_
* `Bug tracker <>`_


Please see the `Contribution Guidelines <CONTRIBUTING.rst>`_.


This library is provided by `Snips <>`_ as Open Source software. See `LICENSE <LICENSE>`_ for more information.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for snips-nlu, version 0.13.2
Filename, size File type Python version Upload date Hashes
Filename, size snips_nlu-0.13.2-py2.py3-none-any.whl (8.3 MB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size snips_nlu-0.13.2.tar.gz (8.2 MB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page