Skip to content

0.19.0

Compare
Choose a tag to compare
@adrienball adrienball released this 04 Feb 10:33
· 136 commits to master since this release
3ff0c65

Added

  • Support for Python3.7
  • get_intents(text) API in SnipsNLUEngine to get the probabilities of all the intents
  • get_slots(text, intent) API in SnipsNLUEngine to extract slots when the intent is known
  • The DeterministicIntentParser can now ignore stop words through the new ignore_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 of Registrable pattern
  • Improve the use of default processing unit configurations
  • Improve logging
  • Replace snips-nlu-ontology with snips-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)