8000 GitHub - daliboris/plays-encoding-framework: Plays Encoding Framework for conversion and encoding plays in TEI and DraCor format
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

daliboris/plays-encoding-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plays Encoding Framework

Plays Encoding Framework for conversion and encoding plays in TEI format

Prerequisites

Setting up the environment

  • Install Java JDK 11
  • Extract content of the MorganaXProc-IIIse-1.6.7.zip
  • Extract content of the SaxonHE12-5J.zip file
    • copy extracted saxon-he-12.7.jar and saxon-he-xqj-12.7.jar files to the MorganaXProc-IIIse_lib folder
  • On your operating system, set environment PATH variable to point to the location of the MorganaXProc-IIIse folder
  • for example on Windows:
    • (run command line as usual user): setx PATH "%PATH%;C:\Programs\MorganaXProc-IIIse"
    • (run command line as administrator): setx /m PATH "%PATH%;C:\Programs\MorganaXProc-IIIse"
      • switch /m: Specifies to set the variable in the system environment. The default setting is the local environment.

Runnig pipeline

Use pipelines stored in the run directory in file with .xpl extension.

You can modify options. Frequently used options and their meaning:

  • debug-path: directory used for storing temporary files (for debugging)
  • data-file-path: file with metadata for file to be converted; data files are usualy stored in the data directory
  • output-directory-path: directory used for storing result files
  • output-file-name: the name of the file stored in the output directory, withou extension

If use directory names _debug, _output or _temp, they will not be synchronized with the GitHub repository.

Available pipelines

hub2tei.xpl

Converts plays in hub format to XML according to TEI and DraCor standards, and for EVT Viewer.

docx2tei.xpl

Converts critical editions in DOCX documents to XML according to the TEI and DraCor standards, and for EVT Viewer.

docx2dracor.xpl

Converts editions in DOCX documents to XML according to the DraCor standard.

setup.xpl

Downloads and updates resources for the conversion and validation, like MorganaXProc-IIIse runtime, Saxon-HE libraries and RNG or XML schemas.

About

Plays Encoding Framework for conversion and encoding plays in TEI and DraCor format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0