<commit_before># OpenNHL
A simple gem to parse NHL HTML reports.

## Usage
- `OpenNHL::games_count(year)` returns a count of games in specified year
```ruby
OpenNHL::games_count(2012)
```

- `OpenNHL::years` returns an Array of all available years of seasons start
```ruby
OpenNHL::years
```

- `OpenNHL::events(options)` returns an Array of all events from the game specified by year and id
```ruby
OpenNHL::events(year: 2015, game_id: 1)
```

## Installation instructions
To install this gem, just call
```sh
gem install open-nhl
```
Add the following line at top of your ruby files to use open-nhl
```ruby<commit_msg>fix documaentation<commit_after># OpenNHL
A simple gem to parse NHL HTML reports.

## Usage
- `OpenNHL::info(options)` returns a Hash of common info and all events count of the game specified by season id and geme id
```ruby
OpenNHL::info(season_id: 93, game_id: 100)
```

## Installation instructions
To install this gem, just call
```sh
gem install open-nhl
```
Add the following line at top of your ruby files to use open-nhl
```ruby
{'fraction_non_alphanumeric': 0.10606060606060606, 'fraction_numerical': 0.013257575757575758, 'mean_word_length': 5.074712643678161, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '2288789', 'n_tokens_mistral': 366, 'n_tokens_neox': 323, 'n_words': 144}