<commit_before># java-bean-validation-extension (JBVExt)

*JBVE* (Java Bean Validation Extension) is a small utils library that extends the [Java Bean Validation Specification](http://beanvalidation.org) with additional @Annotations. 

If you are not familiar with JSR-380 (or the Java Bean Validation Specification) please follow [this nice tutorial](http://www.baeldung.com/javax-validation) first.

If you want to see *JVBExt* at work please:
- read this [blog article](http://andreinc.net/2017/10/02/writing-an-unified-validation-mechanism-for-rest-apis-using-spring-boot-and-jsr-380/);
- check out this [repository](https://github.com/nomemory/spring-boot-jbvext-example).

## Installing the library

The library is avaiable in `jcenter()`.

If you are using gradle:

```groovy
repositories {
    jcenter()
}
compile 'net.andreinc.jbvext:jbvext:0.0.6'
```

If you are using maven:
```xml
<repositories>
    <repository>
        <id>jcenter</id>
        <url>https://jcenter.bintray.com/</url>
    </repository>
</repositories>

<dependency>
  <groupId>net.andreinc.jbvext</groupId>
  <artifactId>jbve</artifactId>
  <version>0.0.6</version>
</dependency>
```

*Important note(s):*

In the runtime environment you will an existing JSR-380 implementation in the classpath. Spring Boot started web comes by default with [Hibernate Validator](http://hibernate.org/validator/).

If you are using the library in another environment that doesn't provide a JSR-380 implementation you will need to add the following as dependencies:

```groovy
compile group: 'org.hibernate', name: 'hibernate-validator', version: '6.0.2.Final'
compile group: 'org.glassfish', name: 'javax.el', version: '3.0.1-b08'
```

## Additional supported annotations<commit_msg>Updated README file to reflect the new version<commit_after># java-bean-validation-extension (JBVExt)

*JBVE* (Java Bean Validation Extension) is a small utils library that extends the [Java Bean Validation Specification](http://beanvalidation.org) with additional @Annotations. 

If you are not familiar with JSR-380 (or the Java Bean Validation Specification) please follow [this nice tutorial](http://www.baeldung.com/javax-validation) first.

If you want to see *JVBExt* at work please:
- read this [blog article](http://andreinc.net/2017/10/02/writing-an-unified-validation-mechanism-for-rest-apis-using-spring-boot-and-jsr-380/);
- check out this [repository](https://github.com/nomemory/spring-boot-jbvext-example).

## Installing the library

The library is avaiable in `jcenter()`.

If you are using gradle:

```groovy
repositories {
    jcenter()
}
compile 'net.andreinc.jbvext:jbvext:0.0.7'
```

If you are using maven:
```xml
<repositories>
    <repository>
        <id>jcenter</id>
        <url>https://jcenter.bintray.com/</url>
    </repository>
</repositories>

<dependency>
  <groupId>net.andreinc.jbvext</groupId>
  <artifactId>jbve</artifactId>
  <version>0.0.7</version>
</dependency>
```

*Important note(s):*

In the runtime environment you will an existing JSR-380 implementation in the classpath. Spring Boot started web comes by default with [Hibernate Validator](http://hibernate.org/validator/).

If you are using the library in another environment that doesn't provide a JSR-380 implementation you will need to add the following as dependencies:

```groovy
compile group: 'org.hibernate', name: 'hibernate-validator', version: '6.0.2.Final'
compile group: 'org.glassfish', name: 'javax.el', version: '3.0.1-b08'
```

## Additional supported annotations
{'fraction_non_alphanumeric': 0.12928834703714204, 'fraction_numerical': 0.01927984122483697, 'mean_word_length': 4.672025723472669, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '1901318', 'n_tokens_mistral': 1201, 'n_tokens_neox': 1100, 'n_words': 330}