<commit_before>## How to build the library

To build the library for raspberry, follow the instruction from
(here)[../../rpi/cmakets/README.md]

To build the library for arduino (or any Atmel MCU), include the files in the
arduino IDE. See arduinot IDE's documentation (here)[https://www.arduino.cc/en/Guide/HomePage].

# Compilation for raspberry

```
cmake -DCMAKE_TOOLCHAIN_FILE=/path/to/domos/rpi/cmaketc/Toolchain-raspberrypi-arm.cmake
make
```

# Compilation for the Desktop

define GTEST_ROOT first (see CMakeLists.txt). Then:

```
cmake CMakeLists.txt
make
```
<commit_msg>Add some explanation on how to use out of source build folder and Debug compilation.<commit_after>## How to build the library

To build the library for raspberry, follow the instruction from
(here)[../../rpi/cmakets/README.md]

To build the library for arduino (or any Atmel MCU), include the files in the
arduino IDE. See arduinot IDE's documentation (here)[https://www.arduino.cc/en/Guide/HomePage].

# Compilation for raspberry

```
cmake -DCMAKE_TOOLCHAIN_FILE=/path/to/domos/rpi/cmaketc/Toolchain-raspberrypi-arm.cmake
make
```

# Compilation for the Desktop

define GTEST_ROOT first (see CMakeLists.txt). Then:

```
cmake CMakeLists.txt
make
```

For example, to compile a Debug version and put the CMake files in a specific folder, do:
```
mkdir -p build/debug
cd build/debug
cmake -DCMAKE_BUILD_TYPE=Debug ../
make
```

{'fraction_non_alphanumeric': 0.109375, 'fraction_numerical': 0.0, 'mean_word_length': 4.50390625, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2816491', 'n_tokens_mistral': 502, 'n_tokens_neox': 460, 'n_words': 155}