<commit_before># STUCCO-RT

## Build Status
master: [![Build Status](https://travis-ci.org/stucco/rt.png?branch=master)]
(https://travis-ci.org/stucco/rt)
dev: [![Build Status](https://travis-ci.org/stucco/rt.png?branch=dev)]
(https://travis-ci.org/stucco/rt)

## Running Topology
### Prerequisites
* RabbitMQ running on the default port 5672
* [document-service](https://github.com/stucco/document-service) running on the default port 4001
* Titan/query-service running

### Compile and Execute Locally
1. Open a terminal and cd to the rt directory
2. Run the following commands:
	
	./maven-rt-build.sh
	cd stucco-topology
	mvn clean package
	mvn exec:java

### Package for Deployment to Cluster
1. Modify the stucco-topology/pom.xml storm dependency section to indicate that the environment will provide the Storm library at runtime, instead of packaging it within the stucco-topology jar as with local execution:
	```
	<dependency>
		<groupId>storm</groupId>
		<artifactId>storm</artifactId>
		<version>[0.9.0.1,)</version>
		<scope>provided</scope>
	</dependency>
	```
	
2. Follow steps above in the [Compile and Execute Locally](#Compile and Execute Locally) section

## Eclipse Development
1. Install eGit plugin
2. Install Maven Integration for Eclipse (m2e)
3. Use the Eclipse ```'Git Repository Exploring'``` perspective
4. Click the ```'Clone a Git Repository'```
5. Use the URI ```'https://github.com/stucco/rt.git'```
6. Right click the repository and select ```'Import Projects...'```
7. Select ```'Import Existing Projects'``` and the pom.xml should be shown<commit_msg>fixed markdown in readme - code block in list<commit_after># rt

## Build Status

master: [![Build Status](https://travis-ci.org/stucco/rt.png?branch=master)]
(https://travis-ci.org/stucco/rt)
dev: [![Build Status](https://travis-ci.org/stucco/rt.png?branch=dev)]
(https://travis-ci.org/stucco/rt)

## Running Topology

### Prerequisites
* RabbitMQ running on the default port 5672
* [document-service](https://github.com/stucco/document-service) running on the default port 4001
* Titan/query-service running

### Compile and Execute Locally
1. Open a terminal and cd to the rt directory
2. Run the following commands:
	
				./maven-rt-build.sh
				cd stucco-topology
				mvn clean package
				mvn exec:java

### Package for Deployment to Cluster
1. Modify the stucco-topology/pom.xml storm dependency section to indicate that the environment will provide the Storm library at runtime, instead of packaging it within the stucco-topology jar as with local execution:

				<dependency>
					<groupId>storm</groupId>
					<artifactId>storm</artifactId>
					<version>[0.9.0.1,)</version>
					<scope>provided</scope>
				</dependency>
	
2. Follow steps above in the [Compile and Execute Locally](#Compile and Execute Locally) section

## Eclipse Development

1. Install eGit plugin
2. Install Maven Integration for Eclipse (m2e)
3. Use the Eclipse `Git Repository Exploring` perspective
4. Click the `Clone a Git Repository`
5. Use the URI `https://github.com/stucco/rt.git`
6. Right click the repository and select `Import Projects...`
7. Select `Import Existing Projects` and the pom.xml should be shown
{'fraction_non_alphanumeric': 0.12111703796673988, 'fraction_numerical': 0.015061186068402886, 'mean_word_length': 4.376053962900506, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 2, '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': '2029866', 'n_tokens_mistral': 1091, 'n_tokens_neox': 989, 'n_words': 340}