How to use lemma, POS and dependency of SpaCy in RASA NLU

(Patrick) #1


From SpaCy we would need the dependency and POS, and lemma in our extractor. Is there a also concept such as tokens or entities in rasa for dependencies, POS and lemma? What would be the best way to implement it? Either extending the spacy_tokenizer or creating another spacy_featurizer? Anyone who had that problems already?

Thanks, Patrick

(Akela Drissner) #2

It’s probably best to create a new custom component, yes

(Patrick Nini) #3


(Tatiana Parshina) #4

You should create your custom tokenizer component based on tokenizer_spacy implementation.

I wrote post about it.