<commit_before># dalphi [![Build Status](https://travis-ci.org/implisense/dalphi.svg?branch=master)](https://travis-ci.org/implisense/dalphi) [![Code Climate](https://codeclimate.com/github/implisense/dalphi/badges/gpa.svg)](https://codeclimate.com/github/implisense/dalphi) [![Test Coverage](https://codeclimate.com/github/implisense/dalphi/badges/coverage.svg)](https://codeclimate.com/github/implisense/dalphi/coverage) [![Issue Count](https://codeclimate.com/github/implisense/dalphi/badges/issue_count.svg)](https://codeclimate.com/github/implisense/dalphi)

Dalphi - Active Learning Platform for Human Interaction
<commit_msg>add "Getting started" section to README.md<commit_after># dalphi [![Build Status](https://travis-ci.org/implisense/dalphi.svg?branch=master)](https://travis-ci.org/implisense/dalphi) [![Code Climate](https://codeclimate.com/github/implisense/dalphi/badges/gpa.svg)](https://codeclimate.com/github/implisense/dalphi) [![Test Coverage](https://codeclimate.com/github/implisense/dalphi/badges/coverage.svg)](https://codeclimate.com/github/implisense/dalphi/coverage) [![Issue Count](https://codeclimate.com/github/implisense/dalphi/badges/issue_count.svg)](https://codeclimate.com/github/implisense/dalphi)

Dalphi - Active Learning Platform for Human Interaction

## Getting started

Dalphi requires Ruby 2.3.0 to work properly.
With `rvm` it can be installed by running the following.

```bash
rvm install ruby-2.3.0
rvm use ruby-2.3.0
```

Get Dalphi by cloning the official repository.

```bash
git clone https://github.com/implisense/dalphi.git
```

In the cloned repo run the `bundler` in order to install all dependencies.

```bash
cd dalphi
gem install bundle
bundle install
```

Start the application with `foreman`, so that every component is started correctly.

```bash
foreman start
```

{'fraction_non_alphanumeric': 0.15098468271334792, 'fraction_numerical': 0.004923413566739606, 'mean_word_length': 5.749077490774908, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 17, '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': '6212486', 'n_tokens_mistral': 631, 'n_tokens_neox': 602, 'n_words': 112}