<commit_before># DMS Filter Bundle

This bundle makes DMS/Filter available for use in your application for input filtering.

## Install

### 1. Import libraries

Option A) Use Composer.

    composer require dms/dms-filter-bundle:~2.0

### 2. Enable Bundle

Add this to your `AppKernel.php`

    new DMS\Bundle\FilterBundle\DMSFilterBundle(),

### 3. Configure

This bundle can now automatically filter your forms if it finds a annotated entity attached.

This is the default behaviour, if you want to disable it add this to your `config.yml`

    dms_filter:
        auto_filter_forms: false

## Usage
<commit_msg>Adding status images to README<commit_after># DMS Filter Bundle

This bundle makes DMS/Filter available for use in your application for input filtering.

Current Status: [![Build Status](https://travis-ci.org/rdohms/dms-filter-bundle.png?branch=2.dev)](https://travis-ci.org/rdohms/dms-filter-bundle) [![Dependency Status](https://www.versioneye.com/php/dms:dms-filter-bundle/1.1.1/badge.png)](https://www.versioneye.com/php/dms:dms-filter-bundle/1.1.1)

## Install

### 1. Import libraries

Option A) Use Composer.

    composer require dms/dms-filter-bundle:~2.0

### 2. Enable Bundle

Add this to your `AppKernel.php`

    new DMS\Bundle\FilterBundle\DMSFilterBundle(),

### 3. Configure

This bundle can now automatically filter your forms if it finds a annotated entity attached.

This is the default behaviour, if you want to disable it add this to your `config.yml`

    dms_filter:
        auto_filter_forms: false

## Usage

{'fraction_non_alphanumeric': 0.10400516795865633, 'fraction_numerical': 0.010981912144702842, 'mean_word_length': 3.96474358974359, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '156382', 'n_tokens_mistral': 507, 'n_tokens_neox': 479, 'n_words': 160}