ElectronicBabylonianLiterature / atf-preprocessor

A script for converting the different ATF flavors to eBL ATF

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

atf-preprocessor

A script for converting the different ATF flavors to eBL ATF

This script converts .atf files which are encoded according to the oracc and c-ATF standards to the eBL-ATF standard.

Setup

Set up environmental variables like described in ebl-Api

Usage

$ python convert_atf.py [-h] -i INPUT [-o OUTPUT] [-t] [-v]
  • Command line options

    • -h shows help message and exits the script
    • -i path to the input directory (required)
    • -g path to the glossary file (required)
    • -o path to the output directory
    • -v display status messages

Testing

  • run pytest from command line:
$ pytest convert_atf.py

About

A script for converting the different ATF flavors to eBL ATF


Languages

Language:Python 100.0%