src.pipeline.nlu.simple_nlu

Classes

SimpleNLU

Simple Natural Language Understanding component.

Module Contents

class SimpleNLU[source]

Simple Natural Language Understanding component. Uses keyword matching for intent recognition.

patterns[source]
get_intent(text: str) str[source]

Extract intent from normalized text.

Parameters:

text – Normalized user input

Returns:

Intent name as string