{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Visualizing Documents and Corpora" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "`GateNLP` provides interactive visualization of Documents and Corpora in notebooks.\n", "\n", "For documents, the text, document features and annotation types in all annotation sets are shown and types can be selected for visualization of the individual annotations. \n", "\n", "For corpora, the document viewer is shown with interactive controls to move through the corpus and reload a document from the corpus. \n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Document viewer\n", "\n", "In a notebook, the default for showing a document is the document viewer:" ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [ { "data": { "text/html": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "