Creating a New Unstructured Pipeline

This topic provides instructions for creating a new pipeline to ingest unstructured data.

  1. In the Anzo console, expand the Onboard menu and click Unstructured Data. Anzo displays the Pipeline screen, which lists any existing unstructured pipelines. For example:

  2. Click the Create button. Anzo opens the Create Unstructured Pipeline dialog box. For example:

  3. In the Title field, type a name for the pipeline.

    Note: This title serves as a key to identify this pipeline and its corpus in multiple contexts. Specify a title that is unique and stable. The pipeline's corpus data set name is derived from this title.

  4. Type an optional description for the pipeline in the Description field.
  5. If necessary, click the Target Datasource field and select the graph data source for this pipeline. For information about creating a graph data source, also known as an Anzo data store, see Creating an Anzo Data Store.
  6. If necessary, click the Elasticsearch Config field and select the Elasticsearch connection to use for this pipeline. For information about creating an Elasticsearch connection, see Configuring an Elasticsearch Connection.
  7. Click Save to create the pipeline. Anzo displays the pipeline Overview screen. For example:

    Note: A pipeline configuration saves automatically and constantly undergoes validation to make sure that the pipeline is valid based on the current configuration. Anzo displays validation issues in red on the top of the screen. The warnings will disappear as you add components to the pipeline.

  8. If necessary, click Advanced to view and configure the advanced pipeline settings. Descriptions of the advanced settings are in progress.
  9. Click the Crawlers tab and follow the substeps below to add a crawler to the pipeline:
    1. Click Add Input to select a crawler. Anzo opens the Add Component dialog box.

      In the Add Component dialog box, the New tab lists the default crawlers and the Existing Components tab lists crawlers that have been previously configured and used in other pipelines.

    2. To add a new crawler to the pipeline, click the crawler name to select it. To add an existing crawler to the pipeline, click the Existing Components tab, and then select a crawler. The list below describes each of the default crawlers:
      • File Based Dataset Crawler: Include this crawler to process data from a file-based linked data set (FLDS) in Anzo.
      • Filesystem Crawler: Include this crawler to process documents, such as email messages, PDF, XML, PowerPoint, Excel, OneNote, or Word files, and images, that are available on a file store.
      • Local Volume Dataset Crawler: Include this crawler to process RDF data that is stored as a linked data set (LDS) in an Anzo journal.
    3. After selecting a crawler, click OK. Anzo opens the Create dialog box for the component. Complete the fields to configure the crawler. The list below provides details about the settings for each crawler. Click a crawler name to view the details for that component:
    4. When you have finished configuring the crawler, click Save. Anzo adds the crawler to the pipeline and returns to the Crawlers screen. For example:

    5. If you want to change the crawler configuration, click the Edit icon () for the crawler and modify the settings as needed. If you want to add another crawler to the pipeline, repeat substeps a – d.
  10. Click the Annotators tab and follow the substeps below to add an annotator to the pipeline:
    1. Click Add Output to select an annotator. Anzo opens the Add Component dialog box.

      In the Add Component dialog box, the New tab lists the default annotators and the Existing Components tab lists annotators that have been previously configured and used in other pipelines.

    2. To add a new annotator to the pipeline, click the annotator name to select it. To add an existing annotator to the pipeline, click the Existing Components tab, and then select an annotator. The list below describes each of the default annotators:
      • Custom Relationship Annotator: Include this annotator to map relationships between annotations based on the number of characters between the annotations.
      • External Service Annotator: Include this annotator to hit an HTTP endpoint that provides annotations.
      • Keyword and Phrase Annotator: Include this annotator to create annotations based on the phrases that you specify.
      • Knowledgebase Annotator: Include this annotator to link structured and unstructured data by finding instances in Anzo knowledgebases. Based on the names and aliases of entities present or patterns that are indicative of the entities, this annotator marks up the documents with the structured entities linked.
      • Regex Annotator: Include this annotator to use regular expression rules to identify entities such as email addresses, URLs, phone numbers, or any other entity that can be matched using a regular expression.
      • Semantria Annotator: Include this annotator to use the Semantria web service to find entities, sentiment, and topics in documents. It requires an Semantria API access key from Lexalytics.
      • Significant Phrases Annotator: Include this annotator to annotate statistically significant words and phrases.
    3. After selecting an annotator, click OK. Anzo opens the Create dialog box for the component. Complete the fields to configure the annotator. The list below provides details about the settings for the annotators that are typically used in pipelines. Click an annotator name to view the details for that component:
    4. When you have finished configuring the annotator, click Save. Anzo adds the annotator to the pipeline and returns to the Annotators screen. For example:

    5. If you want to change the annotator configuration, click the Edit icon () for the annotator and modify the settings as needed. If you want to add another annotator to the pipeline, repeat substeps a – d.
  11. When you have finished adding crawlers and annotators to the pipeline, click the Run Pipeline button to run the pipeline.

The process can take several minutes to complete. You can click the Progress tab to view details such as the pipeline status, runtime, number of documents processed, and errors. For example:

When the pipeline completes, Anzo registers the new unstructured data set and adds it to the Dataset catalog. You can add the new data set to a graphmart and load it to AnzoGraph so that you can explore and analyze the data in Hi-Res Analytics dashboards. See Creating Graphmarts and Loading Data to AnzoGraph for instructions.

Related Topics