Giter Club home page Giter Club logo

vep-pipeline's Introduction

VEP-Pipeline Readme

written and maintained by Erin Winter ([email protected])

These scripts require Python 3 and a command line interface. Anaconda -- a distribution of Python and many useful packages -- is recommended. If you have questions about what arguments each script requires, run python {name of script} -h to get a command line menu.

Standard Processing Script Pipeline:

  1. character-cleaner.py: given a folder of .xml files, outputs character cleaned files with the same extension\
  2. tei-decoder.py OR tei-decoder-stage.py (early modern drama XML only): given a folder of character-cleaned xml files, outputs extracted plain-text files
  3. (optional) EMStandardizer.py: given a folder of character cleaned, extracted plain-text texts, outputs standardized plain-text files *

Other Files:

  • conversion_dict.py: a python dictionary class that enumerates unicode characters and ascii substitutions. limited to characters from the TCP.
  • config_all_TCP.yaml AND stage_config.yaml: files that tells our tei-decoder which divs (or XML tags) to extract text from. use config_all_TCP to extract all text on the page, and stage_config.yaml to extract only dialogue from plays.
  • standardizer_dictionary.txt: the dictionary for our standardizer, instructions for reading the dictionary are in the form of comments at the top

* Our standardizer dictionary was curated for spelling from Early Modern texts keyed by the Text Creation Partnership, which means its dictionary is heavily skewed towards the Early English Books Online corpora. It makes changes like doe->do that have largely positive effects on the majority of Early Modern texts, but those same changes will have undesirable effects on texts dated 1700 or later because of change in spelling practices over time.

vep-pipeline's People

Contributors

wintere avatar gleicher avatar dmstuffer avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.