Giter Club home page Giter Club logo

ots-heading-parser's Introduction

Heading Parser for Sports Network Data Files

Looks at a file and spits back what's in the heading element. It's meant to tell you which parser to the parser-proxy needs to spawn in order to store the data.

Options

  • --file: the relative or absolute path to the file of interest
  • --filetype: pbp|other pbp can let us know that we don't need to read the file in and examine the <heading> element because it's a known play by play file.
  • --ignore: Tell the heading parser to ignore a letter in the 2nd position of the heading node. e.g. A, B, J to ignore files having to do with a certain sport.
  • --sport: nfl|mlb if the sport type is already known, specify it here.
  • --delim: Defaults to |||, but you can configure it here. WARNING: If filenames contain the delimiter, weird things can happen.
  • --in0: present or not. If this argument is present, it lets us know that the stdin input is delimited by \0 nulls instead of \n newlines.
  • --out0: present of not. If present, delimit the output with \0 nulls instead of \n newlines.

Input

Can come from either stdin if we're piping a large list of files to the parser or just standard command line options specified above.

ots-heading-parser's People

Contributors

cletustboone avatar fauverism avatar hellopat avatar

Watchers

 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.