<commit_before># WEBVTT FILE parser for Ruby

Parse WebVTT files with Ruby.
The main goal is just to extract the text out with start and end times.
The parsing does not conform the [WebVTT specification](http://dev.w3.org/html5/webvtt/) at this point.


# Story

We were creating WebVTT files to enable closed captions for HTML5 video.
We wanted to reuse this work to embed the transcript in the video player
page to increase SEO and allow for jumping to sections of the video.

# Install

```
git clone
rake build
gem install pkg/webvtt.x.x.x.gem
```

# Usage

Based on this WebVTT:<commit_msg>update installation for published gem<commit_after># WEBVTT FILE parser for Ruby

Parse WebVTT files with Ruby.
The main goal is just to extract the text out with start and end times.
The parsing does not conform the [WebVTT specification](http://dev.w3.org/html5/webvtt/) at this point.


# Story

We were creating WebVTT files to enable closed captions for HTML5 video.
We wanted to reuse this work to embed the transcript in the video player
page to increase SEO and allow for jumping to sections of the video.

# Install

```
gem install webvtt
```

# Usage

Based on this WebVTT:
{'fraction_non_alphanumeric': 0.056827820186598814, 'fraction_numerical': 0.005089058524173028, 'mean_word_length': 4.042735042735043, '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': '6283144', 'n_tokens_mistral': 354, 'n_tokens_neox': 334, 'n_words': 179}