I have entities and for each entity, I have defined 8-10 synonyms and train a few of them. My bot is detecting only the trained entities.
Did you add the synonyms to the lookup tables?
Yes
Can you post your pipeline?
language: en
pipeline:
- name: SpacyNLP
case_sensitive: false
- name: SpacyTokenizer
- name: SpacyFeaturizer
- name: RegexFeaturizer
- name: CRFEntityExtractor
features:
[
["low", "title", "upper"],
["bias", "low", "prefix5", "prefix2",
"suffix5", "suffix3", "suffix2", "upper",
"title", "digit", "pattern"],
["low", "title", "upper"],
]
- name: EntitySynonymMapper
- name: SklearnIntentClassifier
policies:
- name: MemoizationPolicy
- name: KerasPolicy
- name: MappingPolicy
- name: FormPolicy