<commit_before>sentence.js
===========

Sentence.js is a small library which purpose is to help you writing easily understandable and maintainable code.

Let's consider a simple example. You have a variable ```x``` and if it takes the value ```200```, you want to execute a function ```something```.

With sentence.js, you program this as you would say it!

```
mySentence.when("x").is(200).do(something);
```

or

```
mySentence.when("x").verifies(function(x) { return x%2===0; }).do(somethingElse); 
```

You can write as many ```when``` as you want with the same ```Sentence``` object. To set the value of a variable of a ```Sentence```, you simply write:

```
mySentence.setVariable("x",value);
```

All the ```when``` you put into ```mySentence``` will then be verified and actions executed automatically.<commit_msg>Readme updated<commit_after>sentence.js
===========

Sentence.js is a small library which purpose is to help you writing easily understandable and maintainable code.

Let's consider a simple example. You have a variable ```x``` and if it takes the value ```200```, you want to execute a function ```something```.

With sentence.js, you program this as you would say it!

```
mySentence.when("x").is(200).do(something);
```

or

```
mySentence.when("x").verifies(function(x) { return x%2===0; }).do(somethingElse); 
```

You can write as many ```when``` as you want with the same ```Sentence``` object. To set the value of a variable of a ```Sentence```, you simply write:

```
mySentence.set("x",value);
```

All the ```when``` you put into ```mySentence``` will then be verified and actions executed automatically.
{'fraction_non_alphanumeric': 0.16371411117898596, 'fraction_numerical': 0.009773976786805132, 'mean_word_length': 5.111940298507463, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '7070879', 'n_tokens_mistral': 503, 'n_tokens_neox': 478, 'n_words': 202}