<commit_before># Rack::Woothee

Rack::Request extension for handling User-Agent.  
Thanks to [woothee](https://github.com/woothee/woothee-ruby), Rack::Woothee supports various User-Agents.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'rack-woothee'
```

## Usage<commit_msg>Add travis badge<commit_after># Rack::Woothee [![Build Status](https://travis-ci.org/k0kubun/rack-woothee.svg)](https://travis-ci.org/k0kubun/rack-woothee)

Rack::Request extension for handling User-Agent.  
Thanks to [woothee](https://github.com/woothee/woothee-ruby), Rack::Woothee supports various User-Agents.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'rack-woothee'
```

## Usage
{'fraction_non_alphanumeric': 0.14937759336099585, 'fraction_numerical': 0.0027662517289073307, 'mean_word_length': 5.464285714285714, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '6996607', 'n_tokens_mistral': 279, 'n_tokens_neox': 258, 'n_words': 55}