<commit_before>#Pragmatic Segmenter  

[![Gem Version](https://badge.fury.io/rb/pragmatic_segmenter.svg)](http://badge.fury.io/rb/pragmatic_segmenter) [![Code Climate](https://codeclimate.com/github/diasks2/pragmatic_segmenter/badges/gpa.svg)](https://codeclimate.com/github/diasks2/pragmatic_segmenter) [![Build Status](https://travis-ci.org/diasks2/pragmatic_segmenter.png)](https://travis-ci.org/diasks2/pragmatic_segmenter) [![Test Coverage](https://codeclimate.com/github/diasks2/pragmatic_segmenter/badges/coverage.svg)](https://codeclimate.com/github/diasks2/pragmatic_segmenter)

Pragmatic Segmenter is a rule-based sentence boundary detection gem that works out-of-the-box across many languages.  

##Install  

**Ruby**  
*Supports Ruby 2.1.5 and above*  
```
gem install pragmatic_segmenter<commit_msg>Add license badge to README<commit_after>#Pragmatic Segmenter  

[![Gem Version](https://badge.fury.io/rb/pragmatic_segmenter.svg)](http://badge.fury.io/rb/pragmatic_segmenter) [![Code Climate](https://codeclimate.com/github/diasks2/pragmatic_segmenter/badges/gpa.svg)](https://codeclimate.com/github/diasks2/pragmatic_segmenter) [![Build Status](https://travis-ci.org/diasks2/pragmatic_segmenter.png)](https://travis-ci.org/diasks2/pragmatic_segmenter) [![Test Coverage](https://codeclimate.com/github/diasks2/pragmatic_segmenter/badges/coverage.svg)](https://codeclimate.com/github/diasks2/pragmatic_segmenter) [![License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://github.com/diasks2/pragmatic_segmenter/blob/master/LICENSE.txt)

Pragmatic Segmenter is a rule-based sentence boundary detection gem that works out-of-the-box across many languages.  

##Install  

**Ruby**  
*Supports Ruby 2.1.5 and above*  
```
gem install pragmatic_segmenter
{'fraction_non_alphanumeric': 0.1531127313516545, 'fraction_numerical': 0.01065619742007852, 'mean_word_length': 6.193548387096774, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 16, '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': '1605949', 'n_tokens_mistral': 669, 'n_tokens_neox': 612, 'n_words': 74}