Creating Semi-structured Layouts

Creating Semi-structured Layouts

After you add a Semi-structured layout to Hyperscience, you will use the Layout Editor to define what information the system should extract from the processed pages that match the specific layout.

Unlike fields in Structured documents, fields in Semi-structured documents do not require bounding boxes because their location on the page may vary.

However, metadata information is required for fields defined in Semi-structured layouts. Similar to Structured fields, metadata includes the names used to label the information to be extracted from the fields, as well as any specific settings to help the system read and process the field value.

Create a Semi-structured layout

  1. Go to Library > Layouts.

  2. Click Add Layout.

  3. Click Semi-structured Layout, and then click Next.

  4. In the Layout Name text box, enter a name for your layout.

  5. Under Language, click on the drop-down list, and select the language you expect people to use when entering information in this layout’s documents.

  1. Click Create.

By following these steps, you will create a layout with a single variation. To make edits to your layout, you’ll need to go to the Layout Editor as described in the next section.

Navigating the Layout Editor

You can specify the information that should be extracted from submitted pages that match the layout by defining the field metadata in the Layout Editor.

Access the Layout Editor

To access the Layout Editor:

  1. Go to Library > Layouts, and click on the name of the layout you want to edit.

  2. Click Layout Variations, and then, click on the name of the variation.

Defining field metadata

Add a new field by clicking the Add Field button at the bottom of the "Fields" card. Then, fill out the following metadata for each field:

Additional settings can improve machine performance:

Defining table column metadata

Add a new table by clicking the Add Table button at the bottom of the "Tables" card.

To add a new column, click the Add Column button and enter the following metadata:

Additional settings for columns:

Reordering and deleting fields

Fields can be reordered by clicking and dragging in the Layout Editor. You can also delete a field by clicking the trash can icon next to it.

Saving and exiting

All working versions auto-save. You can commit changes by clicking Commit Changes at the top of the page. To leave without committing, click the X in the upper-right corner.