<commit_before># Prerequisites #

* GNU Autotools
* OpenGL 3.0
* C++11 compiler (tested with GCC 4.8.3+)
* [Boost](http://www.boost.org/)
* [GLEW](http://glew.sourceforge.net/)
* [SDL2](https://www.libsdl.org/)
* [GLM](http://glm.g-truc.net/)

On Fedora 20 or later you can install these using a single command (as root):

> $ yum install boost-* glew-devel SDL2_* glm-devel

# Building #

After cloning the source code or extracting a distribted archive, change to the
directory where the source code is:

``` bash
$ autoreconf -i
$ ./configure
$ make
```

This should create a binary that can be executed as follows:

> $ ./src/shaderexample

See

> $ ./src/shaderexample --help

for usage instructions.<commit_msg>Updated readme with DEBUG build instructions.<commit_after># Prerequisites #

* GNU Autotools
* OpenGL 3.0
* C++11 compiler (tested with GCC 4.8.3+)
* [Boost](http://www.boost.org/)
* [GLEW](http://glew.sourceforge.net/)
* [SDL2](https://www.libsdl.org/)
* [GLM](http://glm.g-truc.net/)

On Fedora 20 or later you can install these using a single command (as root):

> $ yum install boost-* glew-devel SDL2_* glm-devel

# Building #

After cloning the source code or extracting a distribted archive, change to the
directory where the source code is:

``` bash
$ autoreconf -i
$ ./configure
$ make
```

Alternatively, if you'd like to build the project in debug mode use:

> $ make CXXFLAGS=-DDEBUG

# Running #

The build process should create a binary that can be executed as follows:

> $ ./src/shaderexample

See

> $ ./src/shaderexample --help

for usage instructions.
{'fraction_non_alphanumeric': 0.13341724354940215, 'fraction_numerical': 0.013845185651353053, 'mean_word_length': 3.789156626506024, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 10, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, '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': '5536764', 'n_tokens_mistral': 580, 'n_tokens_neox': 528, 'n_words': 181}