@( doc: services.document.ExtendedDocumentMetadata, currentUser: Option[services.user.User], accessLevel: services.RuntimeAccessLevel, annotationCount: Long, annotationBounds: com.vividsolutions.jts.geom.Envelope, hasRelations: Boolean )(implicit request: RequestHeader, messages: Messages, webJarsUtil: org.webjars.play.WebJarsUtil) Downloads | @doc.author.map(_ + ": ")@doc.title @views.html.document.standardMeta(doc, annotationCount, Some(annotationBounds)) @Html(webJarsUtil.script("1.12.0/jquery.min.js")) @if(doc.hasDataParts) { @Html(webJarsUtil.script("jquery-ui.min.js")) @Html(webJarsUtil.script("papaparse.min.js")) @Html(webJarsUtil.requireJs(routes.Assets.versioned("javascripts/document/downloads/app.js"))) } @views.html.document.iconbar(doc.document, currentUser, accessLevel, "downloads")

@messages("common.annotations")

Places

@if(hasRelations) {

Relations

  • Basic CSV

    A basic CSV export of relationships in the document.

  • Gephi CSV Node/Edge Lists

    The relationships annotated in this document, as CSV files compatible with the Node and Edge List format of the Gephi graph visualization platform. Each annotation is represented as one node.

}

Annotated Document

@if(accessLevel.canReadAll) { @if(doc.hasTextParts) {
  • TEI

    @messages("document.downloads.annotations.tei.text")

} else { @if(doc.hasDataParts) {
    @if(doc.dataParts.size == 1) {
  • Merged CSV

    Your original spreadsheet, with Recogito's additional data appended as extra columns.

  • } else {
  • Merged CSVs

    Your original spreadsheets, with Recogito's additional data appended as extra columns, packaged in a Zip file.

  • }
  • Pelagios Gazetteer GeoJSON

    Converts your original spreadsheet and annotations to GeoJSON, following the Pelagios conventions on encoding gazetteers. A field mapping must be configured before running the conversion.

    Settings
} else {

No download options available

}} } else {

Some download options may be unavailable due to access restrictions.

}
@if(doc.fileparts.size == 1 && doc.fileparts.head.getContentType == "TEXT_PLAIN") {

Other

  • IOB  BETA

    The text tokenized in IOB format, a common format used for machine learning training data.

  • Spacy JSON  BETA

    The text, line by line, in a JSON format usable as training data input for the Spacy machine learning library. Work in progress!

} @if(doc.hasDataParts) { @helper.javascriptRouter("jsRoutes")( controllers.document.routes.javascript.DocumentController.getRaw ) }