Upon a specific intent, I need to make a query with the extracted person name. I used combinations of “SpacyEntityExtractor” and “CRFEntityExtractor”, alone and together.
There is no problem with the intent prediction. But they are not working properly. For example, it extracts “Parker” and “George”, but not “Henry” and “Diana”. And interestingly, it doesn’t extract names which were extracted before. How should I extract the person names?
pipeline: - name: "SpacyNLP" - name: profanity_analyzer.ProfanityAnalyzer - name: SpacyTokenizer - name: CountVectorsFeaturizer - name: RegexFeaturizer - name: "SpacyEntityExtractor" - name: "CRFEntityExtractor" - name: DIETClassifier epochs: 70 random_seed: 2 - name: EntitySynonymMapper
## intent:ask_homework - Show me the [homework](homework) for [George](PERSON) - what is the [homework](homework) for [Yuri](PERSON) - [workload](homework) for [Eva](PERSON) - what is the homework for Adam - what does James have - [homework](homework) for Henry - [homework](homework) of [Diana](PERSON)