<commit_before># BackwardsFile

Provides a class, BackwardsFile, that reads lines from a text file in reverse.
This is exactly what the more established 'elif' gem by <NAME>
does, but there are a few differences:

- BackwardsFile returns Enumerators that lazily read the file.
- The file is not held open.  The BackwardsFile object simply remembers its
	position in the file while iterating, and opens, reads, and closes the file
	as needed.

## Usage

There are several ways to use BackwardsFile.  The following are equivalent:

	BackwardsFile.open('textfile.txt') { |line| # code }<commit_msg>Update the README with a link to the elif gem<commit_after># BackwardsFile

Provides a class, BackwardsFile, that reads lines from a text file in reverse.
This is exactly what the more established 
[elif](http://elif.rubyforge.org) gem by <NAME> does, but there 
are a few differences:

- BackwardsFile returns Enumerators that lazily read the file.
- The file is not held open.  The BackwardsFile object simply remembers its
	position in the file while iterating, and opens, reads, and closes the file
	as needed.

## Usage

There are several ways to use BackwardsFile.  The following are equivalent:

	BackwardsFile.open('textfile.txt') { |line| # code }
{'fraction_non_alphanumeric': 0.06314948041566747, 'fraction_numerical': 0.0, 'mean_word_length': 4.443478260869565, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1385212', 'n_tokens_mistral': 355, 'n_tokens_neox': 344, 'n_words': 175}