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.extractors.crf_entity_extractor

CRFEntityExtractor Objects

class CRFEntityExtractor(EntityExtractor)

extract_entities

| extract_entities(message: Message) -> List[Dict[Text, Any]]

Extract entities from the given message using the trained model(s).

persist

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

Persist this model into the passed directory.

Returns the metadata necessary to load the model again.