Skip to main content
These examples show how to use extraction scripts with the FieldExtractor object to detect named entities, run XML queries, and parse address components into separate fields.

C# extraction script example

The following C# example runs several extraction methods on the FieldExtractor object. It matches keywords and people, writes text spans to fields, and runs an XML query for two-word dictionary phrases.

Script parameters

Sample address extraction script for the entire field

This script is called for the entire source field. It parses the address and extracts the ZIP code and street into separate fields.

Sample address extraction script for part of a field

This script is called for part of the source field. It detects the NER address object, splits it into components, and saves the ZIP code and street into separate fields.