> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Code syntax for the Extraction Rules activity for NLP

> Overview of the code language for the NLP Extraction Rules activity — search conditions, token templates, and value assignment.

The Extraction Rules activity uses its own language for setting search conditions, finding objects, and assigning values to search elements. Code representation for search element properties is generated automatically and can be modified in the [code editor](/vantage/documentation/advanced-designer/activities/nlp-extraction-rules/editing-code) for the elements that look for named entities (**Person**, **Organization**, **Address**, **Location**, **Date**, **Duration**, and **Money**).

* [Basic concepts](/vantage/documentation/advanced-designer/activities/nlp-extraction-rules/code-syntax/basic-concepts)
* [Understanding generated rules](/vantage/documentation/advanced-designer/activities/nlp-extraction-rules/code-syntax/generated-rules)
* [Sample extraction rules](/vantage/documentation/advanced-designer/activities/nlp-extraction-rules/code-syntax/sample-extraction-rules)
* [Syntax](/vantage/documentation/advanced-designer/activities/nlp-extraction-rules/code-syntax/syntax)
