<commit_before># MarkdownPoetryToHtmlConverter

This is for generating a single HTML page for a collection of poetry in
multiple markdown files.

This project assumes you have an `everything` project.

## Usage

```
ruby lib/markdown_poetry_to_html_converter.rb
```
<commit_msg>Update the README<commit_after># Everything::Collection::ToHtml

This is for generating a single HTML page for a collection of poetry in
multiple markdown files.

This project assumes you have an `everything` project.

## Setup

Must define these environment variables:

- `EVERYTHING_PATH` - the full path to your everything repo.
- `COLLECTION_RELATIVE_PATH` - the path of the collection, relative
  to `EVERYTHING_PATH` above.
- `HTML_OUTPUT_PATH` - the full path to write the collection's HTML file
- `TEMPLATE_PATH` - the full path of the ERB HTML template to use for the
  collection

## Usage

```
ruby lib/everything/collection/to_html.rb
```

{'fraction_non_alphanumeric': 0.0721205597416577, 'fraction_numerical': 0.0, 'mean_word_length': 4.77639751552795, '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': '4565262', 'n_tokens_mistral': 280, 'n_tokens_neox': 266, 'n_words': 110}