<commit_before># Building Stellite

(Instructions valid on OSX as of 3-4-16) 

## OPTION #1 (IDE) 

- Install Xamarin studio, which will install packages and automate the build process for you:
https://www.xamarin.com/studio

## OPTION #2 (command line) 

- Download and install: 
  * mono from http://www.mono-project.com/download/
  * fsharp from https://github.com/fsharp/fsharp

- Download Nuget from https://www.nuget.org/nuget.exe

- In the stellite-tool directory, run the following to download packages
  > `$ mono [path to NuGet]/NuGet.exe restore packages.config -PackagesDirectory packages`

- In stellite-tool, build by running 
  > `$ xbuild`
 
- The Stellite binary will be `stellite-tool/bin/Debug/stellite.exe`

- run Stellite with: 
  > `$ mono bin/Debug/stellite-tool.exe sample_opt.stl`
<commit_msg>Running using 'screen'<commit_after># Building Stellite

(Instructions valid on OSX as of 3-4-16) 

## OPTION #1 (IDE) 

- Install Xamarin studio, which will install packages and automate the build process for you:
https://www.xamarin.com/studio

## OPTION #2 (command line) 

- Download and install: 
  * mono from http://www.mono-project.com/download/
  * fsharp from https://github.com/fsharp/fsharp

- Download Nuget from https://www.nuget.org/nuget.exe

- In the stellite-tool directory, run the following to download packages
  > `$ mono [path to NuGet]/NuGet.exe restore packages.config -PackagesDirectory packages`

- In stellite-tool, build by running 
  > `$ xbuild`
 
- The Stellite binary will be `stellite-tool/bin/Debug/stellite.exe`

- run Stellite with: 
  > `$ mono bin/Debug/stellite-tool.exe sample_opt.stl`


# Running on a server

- Enter a shell by calling `$ screen` 

- Detach with CTRL-a CTRL-d

- To restore, call `$ screen -r`
{'fraction_non_alphanumeric': 0.11293054771315642, 'fraction_numerical': 0.006775832862789385, 'mean_word_length': 3.602597402597403, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 6, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1391662', 'n_tokens_mistral': 628, 'n_tokens_neox': 581, 'n_words': 183}