<commit_before># sparkIt
Simple Spark Java app with support for Selenium testing. The App serves Chuck Norris jokes in a Web application.

Runs on (tested on):

- ✓ Windows (8.1, x86)
- ✓ Mac OS (Mavericks)
- ✓ Linux (Ubuntu 14.04 and Ubuntu Server 12.04)

## Travis picture dawg
[![Build Status](http://oi57.tinypic.com/swsbap.jpg)](https://travis-ci.org/agirmar92/sparkIt)

## Screenshots

index.html                | specific.html
--------------------------|-------------------------------
![random](img/random.png) | ![specific](img/specific.png)

## Getting started

### Requirements
* Java JDK (openjdk-7-jdk recommended) installed and accessible in the PATH

### Clone and run!
1. `git clone` this repo.
2. `./gradlew run` in the repo's base folder (`gradlew run` on Windows).
3. Check out a random joke on [localhost:4567](http://localhost:4567).
4. Check out a specific joke (number 5) on [localhost:4567/id/5](http://localhost:4567/id/5).

To run SparkApp on another port ID on a *nix OS, export PORT environmental variable to a valid integer port and it will be used.

```sh
export PORT=1337
./gradlew run
```<commit_msg>just another readme changing, the last one I promise.<commit_after># sparkIt
Simple Spark Java app with support for Selenium testing. The App serves Chuck Norris jokes in a Web application.

Runs on (tested on):

- ✓ Windows (8.1, x86)
- ✓ Mac OS (Mavericks)
- ✓ Linux (Ubuntu 14.04 and Ubuntu Server 12.04)

## Travis build status
[![Build Status](https://travis-ci.org/agirmar92/sparkIt.svg?branch=master)](https://travis-ci.org/agirmar92/sparkIt)

## Screenshots

index.html                | specific.html
--------------------------|-------------------------------
![random](img/random.png) | ![specific](img/specific.png)

## Getting started

### Requirements
* Java JDK (openjdk-7-jdk recommended) installed and accessible in the PATH

### Clone and run!
1. `git clone` this repo.
2. `./gradlew run` in the repo's base folder (`gradlew run` on Windows).
3. Check out a random joke on [localhost:4567](http://localhost:4567).
4. Check out a specific joke (number 5) on [localhost:4567/id/5](http://localhost:4567/id/5).

To run SparkApp on another port ID on a *nix OS, export PORT environmental variable to a valid integer port and it will be used.

```sh
export PORT=1337
./gradlew run
```
{'fraction_non_alphanumeric': 0.17146540610227762, 'fraction_numerical': 0.03781693167168027, 'mean_word_length': 3.1497326203208558, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, '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': '550971', 'n_tokens_mistral': 813, 'n_tokens_neox': 709, 'n_words': 272}