Skip to content

Instantly share code, notes, and snippets.

@netcarver
netcarver / TitlecaseNamedEntities.py
Last active October 18, 2021 06:35
Custom Rasa NLU Pipeline Component
# -*- coding: utf-8 -*-
from rasa_nlu.components import Component
"""
About
-----
The Spacy tokenizer uses lowercase by default, so training an NLU model using