<commit_before>BabelFish - human friendly i18n for JS
======================================

[![Build Status](https://travis-ci.org/nodeca/babelfish.svg?branch=master)](https://travis-ci.org/nodeca/babelfish)

Internationalisation with easy syntax for node.js and browser. Classic solutions
use multiple phrases for plurals. But we define plurals inline - that's more
compact, and easy for programmers. Also, phrases are grouped into nested scopes,
like in Ruby.

We support all pluralisation rules from [unicode CLDR](http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html),
version [2.0.1](http://cldr.unicode.org/index/downloads).

### Installation

__node.js:__

```bash
$ npm install babelfish
```

__browser:__<commit_msg>Added npm button<commit_after>BabelFish - human friendly i18n for JS
======================================

[![Build Status](https://travis-ci.org/nodeca/babelfish.svg?branch=master)](https://travis-ci.org/nodeca/babelfish)
[![NPM version](https://img.shields.io/npm/v/babelfish.svg)](https://www.npmjs.org/package/babelfish)

Internationalisation with easy syntax for node.js and browser. Classic solutions
use multiple phrases for plurals. But we define plurals inline - that's more
compact, and easy for programmers. Also, phrases are grouped into nested scopes,
like in Ruby.

We support all pluralisation rules from [unicode CLDR](http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html),
version [2.0.1](http://cldr.unicode.org/index/downloads).

### Installation

__node.js:__

```bash
$ npm install babelfish
```

__browser:__
{'fraction_non_alphanumeric': 0.16574245224892176, 'fraction_numerical': 0.0061614294516327784, 'mean_word_length': 5.522088353413655, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3643254', 'n_tokens_mistral': 547, 'n_tokens_neox': 496, 'n_words': 127}