<commit_before>[CMake]: http://www.cmake.org/
[Eigen]: http://eigen.tuxfamily.org/index.php
[Random123]: http://www.thesalmons.org/john/random123/releases/latest/docs/index.html
[Boost]: http://www.boost.org/
[MKL]: http://software.intel.com/en-us/articles/intel-mkl/
[TBB]: http://threadingbuildingblocks.org/
[vDist]: https://github.com/zhouyan/vDist


# Installation

To install the library just move the `include` folder into a proper place, e.g.
`/usr/local/include` on Unix-alike systems. Alternatively, one can use
[CMake](CMake)
```
    cd /path_to_vSMC_source 
    mkdir build
    cd build
    cmake .. -DCMAKE_BUILD_TYPE=Release
    sudo make install
```
To make the documentations one need [Doxygen](Doxygen) 1.8.0 or later.
```
    make docs
```
To build examples,
```
    make buildtests
```
To run the tests,
```
    make test
```
or
    ctest
To build and run tests in a single step
    make check
Note that [CMake](CMake) generated `Makefile` does not build test executables
before run `ctest`, so you need either run `make build tests` before `make
test` or `ctest`, or run `make check`. To build all the examples, one may also
need [Intel MKL](MKL), [Intel TBB](TBB) and [vDist](vDist) libraries.  They
are only optional. To make examples (also serves as tests)

# Prerequisite 

This library has only two mandatory requirement: the [Eigen](Eigen)
linear algebra library and [Random123](Random123) parallel random number
library. Both of them are very portable.

In addition, the library use the `<functional>` and `<random>` library, which
can be found in C++11 or [Boost](Boost). By default the library will use the
Boost library. But if the C++ implementation has these C++11 features
correctly implemented, they can also be used.

Note that this library is only tested with [Boost](Boost) 1.49 or later.<commit_msg>try fix code block agian<commit_after>[CMake]: http://www.cmake.org/
[Eigen]: http://eigen.tuxfamily.org/index.php
[Random123]: http://www.thesalmons.org/john/random123/releases/latest/docs/index.html
[Boost]: http://www.boost.org/
[MKL]: http://software.intel.com/en-us/articles/intel-mkl/
[TBB]: http://threadingbuildingblocks.org/
[vDist]: https://github.com/zhouyan/vDist


# Installation

To install the library just move the `include` folder into a proper place, e.g.
`/usr/local/include` on Unix-alike systems. Alternatively, one can use
[CMake](CMake)

    cd /path_to_vSMC_source 
    mkdir build
    cd build
    cmake .. -DCMAKE_BUILD_TYPE=Release
    sudo make install

To make the documentations one need [Doxygen](Doxygen) 1.8.0 or later.

    make docs

To build examples,

    make buildtests

To run the tests,

    make test

Or

    ctest

To build and run tests in a single step

    make check

Note that [CMake](CMake) generated `Makefile` does not build test executables
before run `ctest`, so you need either run `make build tests` before `make
test` or `ctest`, or run `make check`. To build all the examples, one may also
need [Intel MKL](MKL), [Intel TBB](TBB) and [vDist](vDist) libraries.  They
are only optional. To make examples (also serves as tests)

# Prerequisite 

This library has only two mandatory requirement: the [Eigen](Eigen)
linear algebra library and [Random123](Random123) parallel random number
library. Both of them are very portable.

In addition, the library use the `<functional>` and `<random>` library, which
can be found in C++11 or [Boost](Boost). By default the library will use the
Boost library. But if the C++ implementation has these C++11 features
correctly implemented, they can also be used.

Note that this library is only tested with [Boost](Boost) 1.49 or later.
{'fraction_non_alphanumeric': 0.10914051841746249, 'fraction_numerical': 0.012005457025920874, 'mean_word_length': 4.141654978962132, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 6, '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': '1302594', 'n_tokens_mistral': 1221, 'n_tokens_neox': 1130, 'n_words': 447}