<commit_before># MidiLyrics

[![Build Status](https://travis-ci.org/mateusdelbianco/midi_lyrics.png)](https://travis-ci.org/mateusdelbianco/midi_lyrics)
[![Code Climate](https://codeclimate.com/github/mateusdelbianco/midi_lyrics.png)](https://codeclimate.com/github/mateusdelbianco/midi_lyrics)
[![Coverage Status](https://coveralls.io/repos/mateusdelbianco/midi_lyrics/badge.png?branch=master)](https://coveralls.io/r/mateusdelbianco/midi_lyrics?branch=master)
 
## Installation

Add this line to your application's Gemfile:

    gem 'midi_lyrics'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install midi_lyrics

## Usage

    >> MidiLyrics::Parser.new("test.mid").extract.collect(&:as_json)
    => [
        { text: "Test", start: 0,     start2: 0.0, duration: 0.417 },
        { text: "ing ", start: 0.5,   start2: 0.0, duration: 0.417 },
        { text: "\r",   start: 0.917, start2: 0.0, duration: 0     },
        { text: "\n",   start: 0.917, start2: 0.0, duration: 0     }
      ]

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request<commit_msg>updates readme<commit_after># MidiLyrics

[![Build Status](https://travis-ci.org/mateusdelbianco/midi_lyrics.png)](https://travis-ci.org/mateusdelbianco/midi_lyrics)
[![Code Climate](https://codeclimate.com/github/mateusdelbianco/midi_lyrics.png)](https://codeclimate.com/github/mateusdelbianco/midi_lyrics)
[![Coverage Status](https://coveralls.io/repos/mateusdelbianco/midi_lyrics/badge.png?branch=master)](https://coveralls.io/r/mateusdelbianco/midi_lyrics?branch=master)
 
## Installation

Add this line to your application's Gemfile:

    gem 'midi_lyrics'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install midi_lyrics

## Usage

    >> MidiLyrics::Parser.new("test.mid").extract.collect(&:as_json)
    => [
        { text: "Test",  start: 0,     start2: 0.0, duration: 0.417 },
        { text: "ing",   start: 0.5,   start2: 0.0, duration: 0.417 },
        { text: " \r\n", start: 0.917, start2: 0.0, duration: 0  }
      ]

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
{'fraction_non_alphanumeric': 0.15496957403651115, 'fraction_numerical': 0.027586206896551724, 'mean_word_length': 3.7423076923076923, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4564676', 'n_tokens_mistral': 948, 'n_tokens_neox': 885, 'n_words': 194}