diff options
Diffstat (limited to 'model/probabilistic_intent_parser/slot_filler_3')
-rw-r--r-- | model/probabilistic_intent_parser/slot_filler_3/metadata.json | 3 | ||||
-rw-r--r-- | model/probabilistic_intent_parser/slot_filler_3/model.crfsuite | bin | 0 -> 23960 bytes | |||
-rw-r--r-- | model/probabilistic_intent_parser/slot_filler_3/slot_filler.json | 188 |
3 files changed, 191 insertions, 0 deletions
diff --git a/model/probabilistic_intent_parser/slot_filler_3/metadata.json b/model/probabilistic_intent_parser/slot_filler_3/metadata.json new file mode 100644 index 0000000..18ccb30 --- /dev/null +++ b/model/probabilistic_intent_parser/slot_filler_3/metadata.json @@ -0,0 +1,3 @@ +{ + "unit_name": "crf_slot_filler" +}
\ No newline at end of file diff --git a/model/probabilistic_intent_parser/slot_filler_3/model.crfsuite b/model/probabilistic_intent_parser/slot_filler_3/model.crfsuite Binary files differnew file mode 100644 index 0000000..130b750 --- /dev/null +++ b/model/probabilistic_intent_parser/slot_filler_3/model.crfsuite diff --git a/model/probabilistic_intent_parser/slot_filler_3/slot_filler.json b/model/probabilistic_intent_parser/slot_filler_3/slot_filler.json new file mode 100644 index 0000000..837ae19 --- /dev/null +++ b/model/probabilistic_intent_parser/slot_filler_3/slot_filler.json @@ -0,0 +1,188 @@ +{ + "config": { + "crf_args": { + "algorithm": "lbfgs", + "c1": 0.1, + "c2": 0.1 + }, + "data_augmentation_config": { + "add_builtin_entities_examples": true, + "capitalization_ratio": 0.2, + "min_utterances": 200 + }, + "feature_factory_configs": [ + { + "args": { + "common_words_gazetteer_name": "top_10000_words_stemmed", + "language_code": "en", + "n": 1, + "use_stemming": true + }, + "factory_name": "ngram", + "offsets": [ + -2, + -1, + 0, + 1, + 2 + ] + }, + { + "args": { + "common_words_gazetteer_name": "top_10000_words_stemmed", + "language_code": "en", + "n": 2, + "use_stemming": true + }, + "factory_name": "ngram", + "offsets": [ + -2, + 1 + ] + }, + { + "args": {}, + "factory_name": "is_digit", + "offsets": [ + -1, + 0, + 1 + ] + }, + { + "args": {}, + "factory_name": "is_first", + "offsets": [ + -2, + -1, + 0 + ] + }, + { + "args": {}, + "factory_name": "is_last", + "offsets": [ + 0, + 1, + 2 + ] + }, + { + "args": { + "language_code": "en", + "n": 1 + }, + "factory_name": "shape_ngram", + "offsets": [ + 0 + ] + }, + { + "args": { + "language_code": "en", + "n": 2 + }, + "factory_name": "shape_ngram", + "offsets": [ + -1, + 0 + ] + }, + { + "args": { + "language_code": "en", + "n": 3 + }, + "factory_name": "shape_ngram", + "offsets": [ + -1 + ] + }, + { + "args": { + "entities": [ + "numeric_value", + "to_or_by", + "volume_control_action" + ], + "entity_filter": { + "automatically_extensible": false + }, + "tagging_scheme_code": 2, + "use_stemming": true + }, + "factory_name": "entity_match", + "offsets": [ + -2, + -1, + 0 + ] + }, + { + "args": { + "entities": [], + "entity_filter": { + "automatically_extensible": true + }, + "tagging_scheme_code": 2, + "use_stemming": true + }, + "drop_out": 0.5, + "factory_name": "entity_match", + "offsets": [ + -2, + -1, + 0 + ] + }, + { + "args": { + "entity_labels": [ + "snips/amountOfMoney", + "snips/date", + "snips/datePeriod", + "snips/datetime", + "snips/duration", + "snips/number", + "snips/ordinal", + "snips/percentage", + "snips/temperature", + "snips/time", + "snips/timePeriod" + ], + "language_code": "en", + "tagging_scheme_code": 1 + }, + "factory_name": "builtin_entity_match", + "offsets": [ + -2, + -1, + 0 + ] + }, + { + "args": { + "cluster_name": "brown_clusters", + "use_stemming": false + }, + "factory_name": "word_cluster", + "offsets": [ + -2, + -1, + 0, + 1 + ] + } + ], + "tagging_scheme": 1, + "unit_name": "crf_slot_filler" + }, + "crf_model_file": "model.crfsuite", + "intent": "VolumeControl", + "language_code": "en", + "slot_name_mapping": { + "numeric_value": "numeric_value", + "to_or_by": "to_or_by", + "volume_control_action": "volume_control_action" + } +}
\ No newline at end of file |