I have 3 entities which contains numerical data
intent:sales_data
regex:EV_id
- ^\d{4}$
regex:product_id
- ^\d{8}$
regex:Transaction_id
- ^\d{12}$
my config file
pipeline:
-
name: “SpacyNLP” model: “en_core_web_lg”
-
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: “CountVectorsFeaturizer”
-
name: “EmbeddingIntentClassifier” intent_tokenization_flag: true intent_split_symbol: “+” epochs: 50
-
name: DucklingHTTPExtractor url: http://localhost:8000 dimensions:
- phone-number
- time
- amount-of-money
policies:
- name: MemoizationPolicy
- name: KerasPolicy
- name: MappingPolicy
but i am unable to use regex features even i enter 5 digit number it detects EV_id help me with this issue .