0.19.0
Added
- Support for Python3.7
get_intents(text)
API inSnipsNLUEngine
to get the probabilities of all the intentsget_slots(text, intent)
API inSnipsNLUEngine
to extract slots when the intent is known- The
DeterministicIntentParser
can now ignore stop words through the newignore_stop_words
configuration parameter - Co-occurrence features can now be used in the
LogRegIntentClassifier
Changed
- The
None
intent is now handled as a regular intent in the parsing output, which means that:
{
"input": "foo bar",
"intent": None,
"slots": None
}
is replaced with:
{
"input": "foo bar",
"intent": {
"intentName": None,
"probability": 0.552122
},
"slots": []
}
- Patterns of the
DeterministicIntentParser
are now deduplicated across intents in order to reduce ambiguity - Improve the use of custom
ProcessingUnit
through the use ofRegistrable
pattern - Improve the use of default processing unit configurations
- Improve logging
- Replace
snips-nlu-ontology
withsnips-nlu-parsers
Fixed
- Issue when persisting resources
- Issue when resolving custom entities
- Issue with whitespaces when generating dataset from YAML and text files
- Issue with unicode when using the CLI (Python 2)