GithubHelp home page GithubHelp logo

flatpmb's Introduction

flatpmb

This repo converts the released version of the Parallel Meaning Bank 4.0.0, which has a complex directory hierarchy, to a small number of flat files, each containing multiple documents. Specifically, you get one file per:

  • language: English, German, Italian, or Dutch
  • status: gold, silver, or bronze
  • portion: train, dev (gold only), test (gold only), or eval (English gold only)
  • file type: drs.clf or parse.tags. More file types may be supported in the future.

Usage

Download PMB 4.0.0 and place the release in data/pmb-4.0.0.

Install Produce v0.6.0. Make sure the produce executable ends up on your PATH.

To run the conversion, simply execute from this directory:

produce

This will generate the following output files:

out/pmb-4.0.0/en/gold/train.drs.clf
out/pmb-4.0.0/en/gold/train.parse.tags
out/pmb-4.0.0/en/gold/dev.drs.clf
out/pmb-4.0.0/en/gold/dev.parse.tags
out/pmb-4.0.0/en/gold/test.drs.clf
out/pmb-4.0.0/en/gold/test.parse.tags
out/pmb-4.0.0/en/gold/eval.drs.clf
out/pmb-4.0.0/en/gold/eval.parse.tags
out/pmb-4.0.0/de/gold/train.drs.clf
out/pmb-4.0.0/de/gold/train.parse.tags
out/pmb-4.0.0/de/gold/dev.drs.clf
out/pmb-4.0.0/de/gold/dev.parse.tags
out/pmb-4.0.0/de/gold/test.drs.clf
out/pmb-4.0.0/de/gold/test.parse.tags
out/pmb-4.0.0/it/gold/train.drs.clf
out/pmb-4.0.0/it/gold/train.parse.tags
out/pmb-4.0.0/it/gold/dev.drs.clf
out/pmb-4.0.0/it/gold/dev.parse.tags
out/pmb-4.0.0/it/gold/test.drs.clf
out/pmb-4.0.0/it/gold/test.parse.tags
out/pmb-4.0.0/nl/gold/train.drs.clf
out/pmb-4.0.0/nl/gold/train.parse.tags
out/pmb-4.0.0/nl/gold/dev.drs.clf
out/pmb-4.0.0/nl/gold/dev.parse.tags
out/pmb-4.0.0/nl/gold/test.drs.clf
out/pmb-4.0.0/nl/gold/test.parse.tags
out/pmb-4.0.0/en/bronze/train.drs.clf
out/pmb-4.0.0/en/bronze/train.parse.tags
out/pmb-4.0.0/en/silver/train.drs.clf
out/pmb-4.0.0/en/silver/train.parse.tags
out/pmb-4.0.0/de/bronze/train.drs.clf
out/pmb-4.0.0/de/bronze/train.parse.tags
out/pmb-4.0.0/de/silver/train.drs.clf
out/pmb-4.0.0/de/silver/train.parse.tags
out/pmb-4.0.0/it/bronze/train.drs.clf
out/pmb-4.0.0/it/bronze/train.parse.tags
out/pmb-4.0.0/it/silver/train.drs.clf
out/pmb-4.0.0/it/silver/train.parse.tags
out/pmb-4.0.0/nl/bronze/train.drs.clf
out/pmb-4.0.0/nl/bronze/train.parse.tags
out/pmb-4.0.0/nl/silver/train.drs.clf
out/pmb-4.0.0/nl/silver/train.parse.tags

flatpmb's People

Contributors

texttheater 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.