Import annotation files

After you have created a project, follow the steps defined below to import the files that you want to annotate: (Please note that you can import the files to either train or test folders.)

  1. To import the files that you want to annotate:
    1. Right click on the train folder under the corpus folder in the CorpusView panel
    2. Select the import function from the context menu. A pop-up window will appear.
      Context menu for importing the input files
      Context menu for importing the input files
    3. On the pop-up window, select the import source. Here, you need to select "File System" which is already selected by default.
    4. Click on the Next button
      Click on the Next button
      Click on the Next button
    5. Click on the Browse button on the top of the window to choose the folder of your choice. The selected folder will be displayed on the left side of the window, and the content of the folder will be displayed on the right side. To import you desired files, check the checkboxes next to the files of your choice.

      You also have three options to choose from:
      Filter Types/ Select All/ Deselect All
      Filter Types: Allows you to define the type of files that will be imported. The only extensions that you will work with in CLAMP-Cancer are txt, and .xmi. For example, you may only want to import files with the .txt extension Select All: Allows you to choose all displayed files Deselect All: Allow you to deselect the files that have already been selected

    6. Click on the Browse button next to the "Into folder" field to choose the folder that you want to import your files to. Here, we keep the default directory
    7. Click on the Finish button.
      Click on the Next button
      Illustrating steps 5-7

Now that the selected files have been imported to your desired folder, you can start annotating them. Double click on the files to open theim in the middle window and annotate them. Upon double clicking each file, you will notice that another file with the same name but a different extension (.xmi) has been added to your folder and displayed on the screen. This is the file type used by CLAMP-Cancer for display and interaction purposes.

The content of an annotation file
The content of an annotation file