> ## 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.

# Process mixed document sets in Advanced Designer

> Build Document skills for mixed document sets — semi-structured + unstructured combos, table cells with embedded fields, or unstructured docs with inserts.

A ["mixed" document set](/vantage/documentation/advanced-designer/use-cases/extracting-from-docs#mixed-document-sets) can mean two things in Advanced Designer:

* A single set that contains both **semi-structured and unstructured documents** (different document types).
* A single document that contains **mixed structure** — for example, an unstructured contract with embedded tables, titles, headers, or footers.

## Pick a scenario

| Scenario                                                 | When to use                                                                  | Key activities                                                       |
| :------------------------------------------------------- | :--------------------------------------------------------------------------- | :------------------------------------------------------------------- |
| Semi-structured + unstructured in one set                | Both belong to one logical type with shared output fields                    | Classify + IF + Fast Learning + Segmentation + Deep Learning for NLP |
| Table cells with embedded fields                         | Extract values from inside table cells (e.g., names in a Closing Disclosure) | Fast Learning + NER (+ Address Parsing)                              |
| Unstructured with embedded tables/titles/headers/footers | Mostly unstructured documents with semi-structured fragments                 | Segmentation + Extraction Rules                                      |

Each scenario below shares a common pattern; only the activities you add to the processing flow differ.

## Common workflow

<Steps>
  <Step title="Create a Document skill">
    Open Advanced Designer and click **Create Document Skill** on the start page.
  </Step>

  <Step title="Upload documents">
    On the **Documents** tab, upload the documents you'll use to set up the skill.
  </Step>

  <Step title="Define fields and label">
    On the **Fields** tab, create and configure the fields the skill will extract. Label documents in the **Reference** section.
  </Step>

  <Step title="Add and configure activities">
    On the **Activities** tab, add the activities for your scenario (described below). Open each activity in the **Activity Editor** to configure and train it.
  </Step>

  <Step title="Test and publish">
    Click **Test Skill Using Selected Documents** to evaluate results. When the results are good enough, [publish the skill](/vantage/documentation/advanced-designer/document-skills/publish).
  </Step>
</Steps>

## Semi-structured and unstructured documents in one set

Use this scenario when one Document skill must process both [semi-structured](/vantage/documentation/advanced-designer/use-cases/process-semi-structured) and [unstructured](/vantage/documentation/advanced-designer/use-cases/process-unstructured) documents — both belong to the same logical type and share the same set of output fields.

Classify each document with a [Classify By Text and Image activity](/vantage/documentation/advanced-designer/activities/classify-by-text-and-image), which combines text and geometry to handle low-quality images and documents that differ only by graphic features (signatures, seals). For best results, upload a roughly equal number of documents for each variant so the classifier has balanced training data. Then branch the flow with an IF activity:

* Process semi-structured documents with a [Fast Learning activity](/vantage/documentation/advanced-designer/activities/fast-learning).
* Process unstructured documents with a [Segmentation activity](/vantage/documentation/advanced-designer/activities/segmentation/segmentation-activity) followed by a [Deep Learning for NLP activity](/vantage/documentation/advanced-designer/activities/deep-learning-nlp).

<Frame>
  <img src="https://mintcdn.com/abbyy/NXewBo345IS17i7w/images/vantage/advanced-designer/ad_usecases_if_ss_nlp.png?fit=max&auto=format&n=NXewBo345IS17i7w&q=85&s=ef01797c690180d23b39dd03d18abe6c" alt="Document processing flow with Classify and IF branching into Fast Learning and Segmentation + Deep Learning for NLP" width="1235" height="226" data-path="images/vantage/advanced-designer/ad_usecases_if_ss_nlp.png" />
</Frame>

## Table cells with fields embedded in cell text

Use this scenario when you need to extract specific values from inside table cells in semi-structured documents — for example, a borrower's name and partial address embedded in a Closing Disclosure cell.

Extract the cell as one block of text with a [Fast Learning activity](/vantage/documentation/advanced-designer/activities/fast-learning), then run NLP activities on that block to pull out the embedded fields:

* [Named Entities (NER) activity](/vantage/documentation/advanced-designer/activities/ner) for entities like names and organizations.
* [Address Parsing activity](/vantage/documentation/advanced-designer/activities/address-parsing) to break addresses into components.

<Frame>
  <img src="https://mintcdn.com/abbyy/NXewBo345IS17i7w/images/vantage/advanced-designer/ad_usecases_fl_ner_ap.png?fit=max&auto=format&n=NXewBo345IS17i7w&q=85&s=4c7031c8689a91869875401a234e01ac" alt="Document processing flow with Fast Learning feeding Named Entities (NER) and Address Parsing activities" width="1162" height="121" data-path="images/vantage/advanced-designer/ad_usecases_fl_ner_ap.png" />
</Frame>

## Unstructured documents with tables, titles, headers, or footers

Use this scenario for documents that are mostly unstructured (for example, contracts) but contain embedded semi-structured fragments such as tables, titles, headers, or footers.

Detect plain-text paragraphs with a [Segmentation activity](/vantage/documentation/advanced-designer/activities/segmentation/segmentation-activity) and detect the semi-structured fragments with an [Extraction Rules activity](/vantage/documentation/advanced-designer/activities/extraction-rules/extraction-rules). Once each fragment is isolated, use the appropriate activity to extract its fields.

<Frame>
  <img src="https://mintcdn.com/abbyy/NXewBo345IS17i7w/images/vantage/advanced-designer/sampledocument_mixed.png?fit=max&auto=format&n=NXewBo345IS17i7w&q=85&s=c431020c44eda5d68bcb353e1547a851" alt="Sample document with paragraphs of unstructured text alongside a semi-structured table" width="589" height="840" data-path="images/vantage/advanced-designer/sampledocument_mixed.png" />
</Frame>

## Related activities

<CardGroup cols={2}>
  <Card title="Classify By Text and Image" icon="filter" href="/vantage/documentation/advanced-designer/activities/classify-by-text-and-image">
    Classify documents by combining text and visual features.
  </Card>

  <Card title="Fast Learning activity" icon="bolt" href="/vantage/documentation/advanced-designer/activities/fast-learning">
    Extract fields from semi-structured documents and table cells.
  </Card>

  <Card title="Segmentation activity" icon="scissors" href="/vantage/documentation/advanced-designer/activities/segmentation/segmentation-activity">
    Isolate the paragraphs that contain unstructured fields.
  </Card>

  <Card title="Deep Learning for NLP activity" icon="brain" href="/vantage/documentation/advanced-designer/activities/deep-learning-nlp">
    Extract custom or hard-to-disambiguate entities from unstructured text.
  </Card>

  <Card title="Named Entities (NER) activity" icon="tag" href="/vantage/documentation/advanced-designer/activities/ner">
    Extract pre-trained entities like names, organizations, and dates.
  </Card>

  <Card title="Extraction Rules activity" icon="ruler" href="/vantage/documentation/advanced-designer/activities/extraction-rules/extraction-rules">
    Define rule-based extraction for semi-structured fragments.
  </Card>
</CardGroup>
