<commit_before># Configurator

As its name indicates, it's used to hold configuration elements. A default instance is available in `Sy.config`.

## Creation

```js
var config = new Sy.Configurator();
```

## Setting an element

```js
config.set('key', {some: 'value'});
```
As the `set` method return the configurator you can chain it like this:
```js
config
  .set('key1', 'value1')
  .set('key2', 'value2');
```

To define the root element of the config you can also set directly the object like so:
```js<commit_msg>removed no longer relevant doc<commit_after># Configurator

As its name indicates, it's used to hold configuration elements.

## Creation

```js
var config = new Sy.Configurator();
```

## Setting an element

```js
config.set('key', {some: 'value'});
```
As the `set` method return the configurator you can chain it like this:
```js
config
  .set('key1', 'value1')
  .set('key2', 'value2');
```

To define the root element of the config you can also set directly the object like so:
```js
{'fraction_non_alphanumeric': 0.14299900695134063, 'fraction_numerical': 0.007944389275074478, 'mean_word_length': 4.662921348314606, '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': '2316638', 'n_tokens_mistral': 328, 'n_tokens_neox': 310, 'n_words': 134}