<commit_before># miniMAT [![Build Status](https://travis-ci.org/fmenozzi/miniMAT.svg?branch=master)](https://travis-ci.org/fmenozzi/miniMAT)

A small MATLAB interpreter written in C++ with minimal dependencies

## Building from Source
1. Make sure you have installed the dependencies:
    * A compiler compliant with the C++11 standard (e.g. `g++` 4.8 or `clang++` 3.x)
    * `make`
    * `cmake`
    * `git`
2. Download and build miniMAT:

    First, clone the repository (Depending on your network settings, you may have to use the `https` protocol instead of the `git` protocol):

        $ git clone git://github.com/fmenozzi/miniMAT.git

    Now, choose a directory to hold the build. In this example, we'll create a build directory within the repo itself:

        $ cd miniMAT
        $ mkdir build
        $ cd build
    
    Once inside your build directory, simply run `cmake` and `make` to build the project (If you want to do additional configuration with CMake, simply run `ccmake path/to/build` instead):
    
        $ cmake /path/to/build
        $ make

3. From the build directory, type `./miniMAT` to launch the REPL
4. Enjoy!

## Current Features<commit_msg>Fix cmake path in README.md<commit_after># miniMAT [![Build Status](https://travis-ci.org/fmenozzi/miniMAT.svg?branch=master)](https://travis-ci.org/fmenozzi/miniMAT)

A small MATLAB interpreter written in C++ with minimal dependencies

## Building from Source
1. Make sure you have installed the dependencies:
    * A compiler compliant with the C++11 standard (e.g. `g++` 4.8 or `clang++` 3.x)
    * `make`
    * `cmake`
    * `git`
2. Download and build miniMAT:

    First, clone the repository (Depending on your network settings, you may have to use the `https` protocol instead of the `git` protocol):

        $ git clone git://github.com/fmenozzi/miniMAT.git

    Now, choose a directory to hold the build. In this example, we'll create a build directory within the repo itself:

        $ cd miniMAT
        $ mkdir build
        $ cd build
    
    Once inside your build directory, simply run `cmake` and `make` to build the project (If you want to do additional configuration with CMake, simply run `ccmake path/to/build` instead):
    
        $ cmake miniMAT/CMakeLists.txt 
        $ make

3. From the build directory, type `./miniMAT` to launch the REPL
4. Enjoy!

## Current Features
{'fraction_non_alphanumeric': 0.09836065573770492, 'fraction_numerical': 0.007566204287515763, 'mean_word_length': 3.160839160839161, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2383102', 'n_tokens_mistral': 729, 'n_tokens_neox': 698, 'n_words': 289}