<commit_before>#Estimated Reading Time

A simple, lightweight jQuery plugin used to display an estimated time to read some text.

##Instructions

Include jQuery and the plugin in the head or footer of your page.

    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
    
    <script src="/js/plugins/estimatedReadingTime.js"></script>
    
Create an element on your page with the ID of 'eta' where the estimated reading time will display.

	<div id="eta"></div>
	
Optionally you can create an element with whatever class or ID you want to display the total word count. The word count will only be displayed if you set the wordCountTarget parameter when initiating the plugin (see below).

	<div id="word-count"></div>
    
Initialize the plugin targeting the class, ID or element that contains the text in which you want to estimate the reading time for. 

	$('article').estimatedReadingTime();
	
####Options<commit_msg>updated readme with link to demo<commit_after>#Estimated Reading Time

A simple, lightweight jQuery plugin used to display an estimated time to read some text.

<a href="http://michael-lynch.github.io/estimated-reading-time/" target="_blank">See a demo</a>

##Instructions

Include jQuery and the plugin in the head or footer of your page.

    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
    
    <script src="/js/plugins/estimatedReadingTime.js"></script>
    
Create an element on your page with the ID of 'eta' where the estimated reading time will display.

	<div id="eta"></div>
	
Optionally you can create an element with whatever class or ID you want to display the total word count. The word count will only be displayed if you set the wordCountTarget parameter when initiating the plugin (see below).

	<div id="word-count"></div>
    
Initialize the plugin targeting the class, ID or element that contains the text in which you want to estimate the reading time for. 

	$('article').estimatedReadingTime();
	
####Options
{'fraction_non_alphanumeric': 0.09041501976284586, 'fraction_numerical': 0.0029644268774703555, 'mean_word_length': 4.113636363636363, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, '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': '389639', 'n_tokens_mistral': 557, 'n_tokens_neox': 527, 'n_words': 251}