<commit_before># Ember Inflector [![Build Status](https://travis-ci.org/stefanpenner/ember-inflector.png?branch=master)](https://travis-ci.org/stefanpenner/ember-inflector)

Ember Inflector is a library for inflecting words between plural and singular forms. Ember Inflector aims to be compatible with [ActiveSupport::Inflector](http://api.rubyonrails.org/classes/ActiveSupport/Inflector.htm) from Ruby on Rails, including the ability to add your own inflections in your app.

## Installation

Ember CLI/NPM:

```
npm install --save ember-inflector
ember generate ember-inflector
```

Bower:

`bower install --save ember-inflector`

## Usage

All methods are always available from `Ember.Inflector`, but in Ember CLI, you can always `import` instead:

```javascript
import Inflector from 'ember-inflector';
import {singularize, pluralize} from 'ember-inflector';

singularize("tacos"); // taco
pluralize("taco"); // tacos

// or if not using Ember CLI/ES6
Ember.Inflector.pluralize("taco"); // taco
```
<commit_msg>Fix broken link in README.md<commit_after># Ember Inflector [![Build Status](https://travis-ci.org/stefanpenner/ember-inflector.png?branch=master)](https://travis-ci.org/stefanpenner/ember-inflector)

Ember Inflector is a library for inflecting words between plural and singular forms. Ember Inflector aims to be compatible with [ActiveSupport::Inflector](http://api.rubyonrails.org/classes/ActiveSupport/Inflector.html) from Ruby on Rails, including the ability to add your own inflections in your app.

## Installation

Ember CLI/NPM:

```
npm install --save ember-inflector
ember generate ember-inflector
```

Bower:

`bower install --save ember-inflector`

## Usage

All methods are always available from `Ember.Inflector`, but in Ember CLI, you can always `import` instead:

```javascript
import Inflector from 'ember-inflector';
import {singularize, pluralize} from 'ember-inflector';

singularize("tacos"); // taco
pluralize("taco"); // tacos

// or if not using Ember CLI/ES6
Ember.Inflector.pluralize("taco"); // taco
```

{'fraction_non_alphanumeric': 0.12072336265884653, 'fraction_numerical': 0.0009775171065493646, 'mean_word_length': 5.203030303030303, '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': '1579480', 'n_tokens_mistral': 669, 'n_tokens_neox': 669, 'n_words': 194}