# Pattern Spotter

Pattern Spotter models capture entities based on complex text patterns, similar to advanced regular expressions.

# Defining Patterns

Patterns use a proprietary syntax to match sequences of tokens, token types, and shapes.

  • Shape = "XX999": Matches tokens like AB123.
  • Shape = "X9999": Matches tokens like A1234.

# Testing and Experiments

Before deploying, use the Experiment and Capture interface to test your patterns against your actual data. Running an experiment allows you to see what would be captured without modifying the graph.

# Deployment

If the patterns are useful, create a new node type (e.g., PotentialIdentifiers) to store the results and add the pattern spotter to your pipeline.