Step 3 - Create Corpus
Purpose of the Corpus¶
A "Corpus" is a collection of documents that can be annotated by hand or automatically by a "Gremlin" analyzer. In order to create a Corpus, you first need to create a Corpus and then add documents to it.
Go to the Corpus Page¶
- First, login if you're not already logged in.
- Then, go the "Corpus" tab and click the "Action" dropdown to bring up the action menu:
- Click "Create Corpus" to bring up the Create Corpus dialog. If you've already created a labelset or have a pre-existing one, you can select it, otherwise you'll need to create and add one later:
- Assuming you created the labelset you want to use, when you click on the dropdown in the "Label Set" section, you should see your new labelset. Click on it to select it:
- You will now be able to open the corpus again, open documents in the corpus and start labelling.
Add Documents to Corpus¶
- Once you have a corpus, go back to the document page to select documents to add. You can do this in one of two ways.
- When you're done, click the "Action"
- A dialog will pop up asking you to select a corpus to add the documents to. Select the desired corpus and hit ok.
- You'll get a confirmation dialog. Hit OK.
- When you click on the Corpus you just added the documents to, you'll get a tabbed view of all of the documents, annotations and analyses for that Corpus. At this stage, you should see your documents:
Congrats! You've created a corpus to hold annotations or perform an analysis! In order to start labelling it yourself, you need to create and then select a LabelSet, however. You do not need to do this to run an analyzer, however.
Note: If you have an OpenContracts export file and proper permissions, you can also import a corpus, documents, annotations, and labels. This is disabled on our demo instance, however, to but down on server load and reduce opportunities to upload potentially malicious files. See the "Advanced" section for more details.