<commit_before>

{% if post.read_time %}
  {% assign words = post.content | strip_html | number_of_words %}
{% elsif page.read_time %}
  {% assign words = page.content | strip_html | number_of_words %}
{% endif %}

{% if site.words_per_minute %}
  {% if words < 180 %}
	  {{ site.data.ui-text[site.locale].less_than }} 1 {{ site.data.ui-text[site.locale].minute_read }}
	{% elsif words < 360 %}
	  1 {{ site.data.ui-text[site.locale].minute_read }}
	{% else %}
	  {{ words | divided_by:site.words_per_minute }} {{ site.data.ui-text[site.locale].minutes_read }}
	{% endif %}
{% else %}
  {{ site.data.ui-text[site.locale].undefined_words_per_minute }}
{% endif %}<commit_msg>Rename `undefined_words_per_minute` variable to match one set in ui-text.yml - Remove extra white-space - Close #317<commit_after>{% if post.read_time %}
  {% assign words = post.content | strip_html | number_of_words %}
{% elsif page.read_time %}
  {% assign words = page.content | strip_html | number_of_words %}
{% endif %}

{% if site.words_per_minute %}
  {% if words < 180 %}
	  {{ site.data.ui-text[site.locale].less_than }} 1 {{ site.data.ui-text[site.locale].minute_read }}
	{% elsif words < 360 %}
	  1 {{ site.data.ui-text[site.locale].minute_read }}
	{% else %}
	  {{ words | divided_by:site.words_per_minute }} {{ site.data.ui-text[site.locale].minutes_read }}
	{% endif %}
{% else %}
  {{ site.data.ui-text[site.locale].undefined_wpm }}
{% endif %}
{'fraction_non_alphanumeric': 0.181058495821727, 'fraction_numerical': 0.013231197771587743, 'mean_word_length': 4.006968641114983, 'pattern_counts': {'":': 0, '<': 7, '<?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': '4591539', 'n_tokens_mistral': 571, 'n_tokens_neox': 496, 'n_words': 87}