notice

This is documentation for Rasa Open Source Documentation v2.0.x, which is no longer actively maintained.
For up-to-date documentation, see the latest version (2.1.x).

Version: 2.0.x

rasa.nlu.classifiers.keyword_intent_classifier

KeywordIntentClassifier Objects

class KeywordIntentClassifier(IntentClassifier)

Intent classifier using simple keyword matching.

The classifier takes a list of keywords and associated intents as an input. An input sentence is checked for the keywords and the intent is returned.

persist

| persist(file_name: Text, model_dir: Text) -> Dict[Text, Any]

Persist this model into the passed directory.

Return the metadata necessary to load the model again.