Skip to content

Import a library

Studio allows you to import a library of files contained in an archive file. Imported files are written to the documents folder: to be used as test files, they need to be prepared.

Procedure:

  1. Select Studio > Import Library from the main menu.
    A wizard is started.
  2. Select Next.
  3. Select the archive file, recognized formats are

    • .zip
    • .7z
    • .tar
    • .gz
    • .tgz

    If the archive file contains two folders, ann and test, the files under test will be imported into documents, while those in ann will be considered corresponding annotation files and imported into the ann folder.

    After selecting the file, the file path and a summary of its contents are displayed.

  4. Select Next. Under Options check or change these flags:

    • Import categorization annotations to import annotations for categorization.
    • Import extraction annotations to import annotations extractions.
    • Import section annotations to import section annotations.
    • Import only annotated to only import documents with annotations.

    Also check or change the maximum number of documents to import.

  5. Select Finish. Documents' files will be imported in a sub-folder of the project's documents folder. The name of the sub-folder will be import_# where # is a auto-generated progressive numbers.
    Possible annotations' files will be imported in a sub-folder with the same name as above, but in the project's ann folder.
    If inside the source archive files are organized in sub-folders, the folder structure is replicated in the import folder.