<commit_before># Haecksler

[![Code Climate](https://codeclimate.com/github/falti/haecksler.png)](https://codeclimate.com/github/falti/haecksler)
[![Build Status](https://travis-ci.org/falti/haecksler.svg?branch=master)](https://travis-ci.org/falti/haecksler)
[![Dependency Status](https://gemnasium.com/falti/haecksler.svg)](https://gemnasium.com/falti/haecksler)


Read fixed-length files:

```
01A Name    20130101SKIPA
```
Support lazy processing so it's possible to read very large files as well.

## Installation

Add this line to your application's Gemfile:

    gem 'haecksler'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install haecksler

## Usage

```ruby<commit_msg>added badge<commit_after># Haecksler

[![Code Climate](https://codeclimate.com/github/falti/haecksler.png)](https://codeclimate.com/github/falti/haecksler)
[![Build Status](https://travis-ci.org/falti/haecksler.svg?branch=master)](https://travis-ci.org/falti/haecksler)
[![Dependency Status](https://gemnasium.com/falti/haecksler.svg)](https://gemnasium.com/falti/haecksler)
[![Coverage Status](https://coveralls.io/repos/falti/haecksler/badge.png?branch=master)](https://coveralls.io/r/falti/haecksler)


Read fixed-length files:

```
01A Name    20130101SKIPA
```
Support lazy processing so it's possible to read very large files as well.

## Installation

Add this line to your application's Gemfile:

    gem 'haecksler'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install haecksler

## Usage

```ruby
{'fraction_non_alphanumeric': 0.14879792072774528, 'fraction_numerical': 0.01299545159194282, 'mean_word_length': 4.833333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 14, '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': '1102690', 'n_tokens_mistral': 602, 'n_tokens_neox': 561, 'n_words': 104}