You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Dictionaries are resources used to define entities usually based on pattern recognition.


Structure

Reference Dictionary Tagger Stage.

Elasticsearch


Create an entity recognizer to assig

Dictionary Stage
{
	"assigned": {
		"DictionaryTaggerStage": {
			"stage": "DictionaryTaggerStage",
			"display": "Entity",
			"config": {
				"dictionary": <name>_entities,
				"skipFlags": [],
				"boundaryFlags": [
					"TEXT_BLOCK_SPLIT"
				],
				"requiredFlags": [
					"TOKEN"
				],
				"atLeastOneFlag": [
					"ALL_LOWER_CASE"
				],
				"debug": False
			},
			"enable": True,
			"baseline-pipeline": DEFAULT_PIPELINE
		}

	},
	"updatedAt": <time>,
	"createdAt": <time>
}



JSON document
{
	"id": <document_id>,
	"display": <display_label>,
	"fields": {},
	"confAdjust": <confidence_adjustment_value>,
	"updatedAt": <time>,
	"createdAt": <time>,
	"tag": <tag_name>,
	"patterns" : ["<pattern1>", "<pattern2>", "<patternN>"]
}	

In this page:

  • No labels