<commit_before># SaneTitle

[![Gem Version](https://badge.fury.io/rb/sanetitle.svg)](https://badge.fury.io/rb/sanetitle)
[![Coverage Status](https://coveralls.io/repos/github/EdDeAlmeidaJr/sanetitle/badge.svg?branch=master)](https://coveralls.io/github/EdDeAlmeidaJr/sanetitle?branch=master)


This gem generates a sane hyfen-separated text to serve as URL address to a page, based on a given string. It is ideal to generate a URL based on a title of a blog post or article, thus the name of the gem.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'sanetitle'
```

And then execute:

```bash
    $ bundle
```

Or install it yourself as:

```bash
    $ gem install sanetitle<commit_msg>Badge of build status<commit_after># SaneTitle

[![Gem Version](https://badge.fury.io/rb/sanetitle.svg)](https://badge.fury.io/rb/sanetitle)
[![Build status](https://travis-ci.org/EdDeAlmeidaJr/sanetitle.svg?branch=master)]
[![Coverage Status](https://coveralls.io/repos/github/EdDeAlmeidaJr/sanetitle/badge.svg?branch=master)](https://coveralls.io/github/EdDeAlmeidaJr/sanetitle?branch=master)


This gem generates a sane hyfen-separated text to serve as URL address to a page, based on a given string. It is ideal to generate a URL based on a title of a blog post or article, thus the name of the gem.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'sanetitle'
```

And then execute:

```bash
    $ bundle
```

Or install it yourself as:

```bash
    $ gem install sanetitle
{'fraction_non_alphanumeric': 0.12705727452271232, 'fraction_numerical': 0.0, 'mean_word_length': 4.692883895131086, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 9, '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': '4380397', 'n_tokens_mistral': 542, 'n_tokens_neox': 510, 'n_words': 152}