<commit_before># Jython Example [![Build Status](https://travis-ci.org/soulmachine/JythonExample.png)](https://travis-ci.org/soulmachine/JythonExample)

## Introduction

This is a simple example to execute Python scripts from Java.

## Compile

    mvn clean package

## Run

    java -jar target/jython-example-1.0-SNAPSHOT.jar<commit_msg>add see also links<commit_after># Jython Example [![Build Status](https://travis-ci.org/soulmachine/JythonExample.png)](https://travis-ci.org/soulmachine/JythonExample)

## Introduction

This is a simple example to execute Python scripts from Java.

_See also:_ 

* [JRuby Example](https://github.com/soulmachine/JRubyExample)
* [Scalding Example Project](https://github.com/soulmachine/scalding-example-project)
* [Spark Example Project](https://github.com/soulmachine/spark-example-project)

## Compile

    mvn clean package

## Run

    java -jar target/jython-example-1.0-SNAPSHOT.jar
{'fraction_non_alphanumeric': 0.13132400430570507, 'fraction_numerical': 0.004305705059203444, 'mean_word_length': 4.705521472392638, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 7, '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': '7159490', 'n_tokens_mistral': 320, 'n_tokens_neox': 306, 'n_words': 62}