<commit_before># doubleplus-numbers

`doubleplus-numbers` provides a [Common Form](https://github.com/commonform) [annotator](https://github.com/commonform/commonform-annotations) to find and identify redundant and repeated number(s) and numeral(s).

```javascript
var assert = require('assert')
var annotator = require('doubleplus-numbers')

assert.deepEqual(
  annotator({ content: [ 'Give me two (2) of those and four (4) of the other one.' ] }),
  [ { message: '"two (2)" repeats a written number and numeral, which is redundant and error-prone',
      level: "info",
      path: [ 'content', 0 ],
      source: 'doubleplus-numbers',
      url: null },
    { message: '"four (4)" repeats a written number and numeral, which is redundant and error-prone',
      level: "info",
      path: [ 'content', 0 ],
      source: 'doubleplus-numbers',
      url: null } ])
```<commit_msg>Add clever build status image :construction:<commit_after># doubleplus-numbers

`doubleplus-numbers` provides a [Common Form](https://github.com/commonform) [annotator](https://github.com/commonform/commonform-annotations) to find and identify redundant and repeated number(s) and numeral(s).

[![Build Status](https://travis-ci.org/anseljh/doubleplus-numbers.svg)](https://travis-ci.org/anseljh/doubleplus-numbers)

```javascript
var assert = require('assert')
var annotator = require('doubleplus-numbers')

assert.deepEqual(
  annotator({ content: [ 'Give me two (2) of those and four (4) of the other one.' ] }),
  [ { message: '"two (2)" repeats a written number and numeral, which is redundant and error-prone',
      level: "info",
      path: [ 'content', 0 ],
      source: 'doubleplus-numbers',
      url: null },
    { message: '"four (4)" repeats a written number and numeral, which is redundant and error-prone',
      level: "info",
      path: [ 'content', 0 ],
      source: 'doubleplus-numbers',
      url: null } ])
```
{'fraction_non_alphanumeric': 0.14911366006256518, 'fraction_numerical': 0.006256517205422315, 'mean_word_length': 3.971502590673575, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '390939', 'n_tokens_mistral': 610, 'n_tokens_neox': 568, 'n_words': 181}