<commit_before># Passive Aggressor

Passive Aggressor is a passive voice obliterator for contracts in [Common Form](https://github.com/commonform). It is an annotator module for [commonform-critique](https://github.com/commonform/commonform-critique).

So far, Passive Aggressor relies on the simple [passive-voice](https://github.com/btford/passive-voice) module by [btford](https://github.com/btford).

License: Apache 2.0

## Tests

```javascript
var passiveAggressor = require('passive-aggressor')
var assert = require('assert')

assert.deepEqual(
  passiveAggressor({ content: [ 'Bob was hit by a bus.' ] }),
  [ { message: 'The phrase "was hit" is passive voice.',
    level: 'info',
    path: [ 'content', 0 ],
    source: 'passive-aggressor',
    url: null } ]
)
```
<commit_msg>Test with multiple instances of passive voice<commit_after># Passive Aggressor

Passive Aggressor is a passive voice obliterator for contracts in [Common Form](https://github.com/commonform). It is an annotator module for [commonform-critique](https://github.com/commonform/commonform-critique).

So far, Passive Aggressor relies on the simple [passive-voice](https://github.com/btford/passive-voice) module by [btford](https://github.com/btford).

License: Apache 2.0

## Tests

```javascript
var passiveAggressor = require('passive-aggressor')
var assert = require('assert')

assert.deepEqual(
  passiveAggressor( { content: [ 'Bob was hit by a bus, and the bird was fed a worm by its mother.' ] } ),
  [ { message: 'The phrase "was hit" is passive voice.',
      level: 'info',
      path: [ 'content', 0 ],
      source: 'passive-aggressor',
      url: null },
    { message: 'The phrase "was fed" is passive voice.',
      level: 'info',
      path: [ 'content', 0 ],
      source: 'passive-aggressor',
      url: null } ]
)
```

{'fraction_non_alphanumeric': 0.13948380010982978, 'fraction_numerical': 0.003844041735310269, 'mean_word_length': 4.033149171270718, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, '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': '4380482', 'n_tokens_mistral': 590, 'n_tokens_neox': 557, 'n_words': 175}