Content Model (Object)

From Grooper Wiki

This article was migrated from an older version and has not been updated for the current version of Grooper.

This tag will be removed upon article review and update.

This article is about the current version of Grooper.

Note that some content may still need to be updated.

2025 2023.1

stacks Content Model node objects define the taxonomy of document sets in terms of the description Document Type they contain. They also house the Data Elements that appear on each collections_bookmark Content Category and Document Type within them. Content Models serve as the root of a Content Type hierarchy and are crucial for organizing the different types of documents that Grooper can recognize and process.

About

A Content Model is the digital representation in Grooper of a document set's content. What content you want to glean from your documents is all set up within a Content Model, including the system for classifying documents and what data you want to extract from them.

Content Models are the fundamental Content Type.  Other Content Types, such as Document Types, are established within a Content Model.  Content Models have two main purposes in Grooper:  


You may download the ZIP(s) below and upload it into your own Grooper environment (version 2023). The first contains one or more Batches of sample documents. The second contains one or more Projects with resources used in examples throughout this article.

Uses of a Content Model

Let's look at how Document Classification and Data Extraction can be used on a Content Model:

Document Classification

Document Classification is an important task that the Content Model helps facilitate.

  1. The very first property of a Content Model is the Classification Method. This tells Grooper how to classify documents.
  2. This can be done one of five ways:


  1. Another important tenet of classification that is relied upon by both Grooper and the Content Model is the Document Type. This is a child object of the Content Model that is used to identify certain documents through positive extractors.
    • For more information on Document Types, click here
  2. For Documents that are more difficult for Grooper to classify, or if you don't want to set up a Classification Method, you can set a Default Content Type.
    • This is optional. If you have multiple Document Types, it's best just to set a Classification Method on the Content Model.
  3. You will need to have a Document Type created in order to do so.

FYI

GPT Embeddings is a fairly new Classification Method and is still currently in beta.

Data Extraction

Data Extraction is another important job for a Content Model. This tells Grooper what you want done with the data from your documents, where you want it to go, and how you want it handled.

  1. Select the Behaviors property.
  2. This will open the List of Behaviors window.
  3. To add Behaviors, press the Add button.
  4. From the drop-down list, select your desired Behavior, based upon how you want to extract your data.

Brief Note on Document Types

Document Types are child objects of a Content Model. One cannot classify without a Document Type. The Classification Method on a Content Model may tell Grooper how to classify, but the Document Type tells Grooper what label to slap on the document.

  1. To add a Document Type, right-click the Content Model in the Node Tree.
  2. Select Add, then Document Type.


  1. This will create the Document Type.
  2. Extractors are a property that Grooper uses to help in identifying and classifying documents as different Document Types.
    • Positive Extractors tell Grooper what to look for.
      • In short, wherever the Positive Extractor extracts a piece of data that Grooper is told to look for, then the document is classified as whatever document type has been configured. This is a good tool to use whenever you have documents that are similar to one another, where classification could go awry.
    • Similarly, Negative Extractors tell Grooper what to exclude from being classified as a potential Document Type.
  3. These Separation properties on the Document Type are only for ESP Auto Separation. ESP Auto Separation is a type of Separation Provider that both separates and classifies documents.

Wrap-Up

Content Models define the classification taxonomy for a set of documents.  This means a list of distinct types of documents (via Document Types), their hierarchical structure within the Content Model (via optional Content Categories). How a document is classified is defined here as well (via the Classification Method and the Document Types).  

Hand-in-hand with the classification taxonomy, Content Models also define the hierarchical data structure for the documents and document set (via Data Models of the various Content Types in the Content Model). The Data Models and their Data Elements define what data is extracted from documents and how that is accomplished.