<commit_before>How to install LIPSIA
===========================
1) Install the necessary compilers and libraries
* gcc, g++
* fftw3 dev
* gsl dev
* boost dev

Ubuntu:
``````````
 ::

    sudo apt-get install build-essential libfftw3-dev libgsl0-dev libboost-dev


OSX:
`````````

 ::

     #install homebrew package manager
     ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

     #install GCC
     brew tap homebrew/versions
     brew install [flags] gcc48

     #install gsl
     brew install gsl

     #install fftw
     brew install fftw

     Furtermore, make sure the last line in the file "lipsia-setup.sh" should be:
     export CC="/usr/local/bin/gcc-4.8"


2) Then execute the script "lipsia-setup.sh" using the command line

 ::

   source ./lipsia-setup.sh

3) Compile lipsia

 ::

   cd <lipsa_dir>/src<commit_msg>install<commit_after>How to install LIPSIA
===========================
1) Install the necessary compilers and libraries
`````````````````````````````````````````````````````
* gcc, g++
* fftw3 dev
* gsl dev
* boost dev

Ubuntu:
 ::

    sudo apt-get install build-essential libfftw3-dev libgsl0-dev libboost-dev


OSX:
 ::

     #install homebrew package manager
     ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

     #install GCC
     brew tap homebrew/versions
     brew install [flags] gcc48

     #install gsl
     brew install gsl

     #install fftw
     brew install fftw

     Furthermore, make sure the last line in the file "lipsia-setup.sh" should be:
     export CC="/usr/local/bin/gcc-4.8"


2) Execute the script "lipsia-setup.sh" (in a shell)
``````````````````````````````````````````````````````
 ::

   source ./lipsia-setup.sh

3) Compile lipsia
`````````````````````````
 ::

   cd <lipsa_dir>/src
{'fraction_non_alphanumeric': 0.19673024523160762, 'fraction_numerical': 0.010899182561307902, 'mean_word_length': 3.32, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '5026790', 'n_tokens_mistral': 677, 'n_tokens_neox': 586, 'n_words': 171}