Text Graph Analyser

Introduction

The Text Graph Analyser allows you to test your Dictionaries and Entity Extraction Scripts to check if the code is working as expected.

Access

When editing Dictionaries and Entity Extraction Scripts, the Text Graph Analyser is displayed.

Screen Layout
Code Editor

The Code Editor pane is where you edit the script.

See Code Editor for more information about using the editor.

Test Process Summary

To test a script, you:

  1. (Optional) Change the configurations to apply during the test.

  2. Choose the text to use in the test in the Document Input pane.

  3. (Optional) Choose to run a full or partial workflow during the test.

  4. Run the test by selecting either the Save & Test or Submit button in the Document Input pane.

  5. Analyse the results of the test displayed in the Text Graph, Nodes and Links and Document panes.

Run a Test

1. Choose the Configurations (Optional)

Testing your code involves running the Ingestion and Document Processing configurations.

You can choose to use the configurations displayed or change the configurations.

Change a Configuration

To change a configuration, select the required configuration from the dropdown field.

Edit a Configuration

To edit a configuration:

  1. Select the Edit button .

    Result: The configuration will be displayed in the pane to the right.

  2. Make the required changes and select the Save button.

To remove the configuration editing pane, re-run the test by clicking on the Submit button in the Document Input pane.

2. Choose the Text to Use in the Test

Options

There four ways to choose text to use in the test:

  1. Enter Text - you provide a text to use in the test.

  2. Select Document - you provide the ID to a document to use in the test.

  3. Example Text - you embed the text to use into the code - which can be either text or a Document ID.

  4. Recently Used Text - you select the text to use from a list of text used in previous tests - which can be either text or a Document ID.

3. Choose the Workflow (Optional)

By default, the full Document Processing workflow is used when you run a test. However, you can choose to only run part of the workflow to examine when and how you code is being executed.

There are two methods for choosing the Workflow:

  • Workflow dropdown: Selecting an option from the Workflow dropdown in the Document Input pane.

  • Workflow pane: Expanding the Workflow pane and selected any step within the Workflow.

Analyse the Results

Analyse the Results