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

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.

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.12.1.tar.gz (6.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.12.1-py2.py3-none-any.whl (6.3 MB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for snips_nlu-0.12.1.tar.gz
Algorithm Hash digest
SHA256 ced78c507df32438fc0e8a23e9537d5796d853f22c0922913fc89341c8b3de66
MD5 b50669018f407d7df7b734cd8a96ca24
BLAKE2b-256 2f5ff67be8641ac92c94536fbf186a5cc5e083873fc19b8105d64ba685af960b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snips_nlu-0.12.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 77283ffdd8985d1a0d5b6ef8a97a875f38be330f2ef2afcba8c8483d2c45a6fa
MD5 80e5f580d19bb83328bcb16f54921422
BLAKE2b-256 d35d32229a3fe0912768364cfbbf96bd022202f016e85ab71e81fa62158561bf

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

0.13.0

2 files

This release

0.12.1 This release

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