Giter VIP home page Giter VIP logo

adsoscansionsystem's Introduction

A metrical scansion system for fixed-metre Spanish poetry

Version 3.1.1 - July 2017 Borja Navarro Colorado University of Alicante

Here is the code of the paper "A metrical scansion system for fixed-metre Spanish poetry" Digital Scholarship in the Humanities, 2017, doi: https://doi.org/10.1093/llc/fqx009.

Using the system with Docker

An image is already available in the Docker Hub.

To use it:

$ docker run -it -v $(pwd):/adso/data_in -v $(pwd):/adso/data_out linhdpostdata/adso

Where data_in contains plain text files to be analyzed and data_out will contain the output after the analysis is done.

The included Dockerfile can also be built running (from the root folder):

$ docker build -t adso .

And then run:

$ docker run -it -v $(pwd):/adso/data_in -v $(pwd):/adso/data_out adso

Some runtime options are available as environment variables in the docker run -e ENV_VAR=value command:

  • DATA_IN, defaults to "data_in"
  • DATA_OUT, defaults to "data_out"
  • FREELINGDIR, defaults to "/usr" as per the local installation in the container.
  • FREELING_OPTIONS, defaults to "001010010001". See https://freeling-user-manual.readthedocs.io/en/latest/modules/maco/. Current options are as specified by Borja Navarro Colorado to replicate results agains the ADSO 100 Poem Corpus.

More detailed instructions to locally run the system can be found in the analysis folder.

adsoscansionsystem's People

Contributors

bncolorado avatar versae avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

linhd-postdata

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.