<commit_before>![](https://img.shields.io/travis/perwendel/spark.svg) 
![](https://img.shields.io/github/license/perwendel/spark.svg)
![](https://img.shields.io/maven-central/v/com.sparkjava/spark-core.svg)

Spark - a Sinatra inspired web framework
==============================================

For more detailed documentation please go to: http://sparkjava.com/documentation

NEWS: Spark 2.3 is now available on Maven central!

```xml
<dependency>
    <groupId>com.sparkjava</groupId>
    <artifactId>spark-core</artifactId>
    <version>2.3</version>
</dependency>
```

For questions about using Spark, post on our Google Group: https://groups.google.com/d/forum/sparkjava

Temporary javadoc: http://spark.screenisland.com

Getting started
---------------

```java
import static spark.Spark.*;

public class HelloWorld {
    public static void main(String[] args) {
        get("/hello", (request, response) -> "Hello World!");<commit_msg>2.4 released<commit_after>![](https://img.shields.io/travis/perwendel/spark.svg) 
![](https://img.shields.io/github/license/perwendel/spark.svg)
![](https://img.shields.io/maven-central/v/com.sparkjava/spark-core.svg)

Spark - a Sinatra inspired web framework
==============================================

For more detailed documentation please go to: http://sparkjava.com/documentation

NEWS: Spark 2.4 is now available on Maven central!

```xml
<dependency>
    <groupId>com.sparkjava</groupId>
    <artifactId>spark-core</artifactId>
    <version>2.4</version>
</dependency>
```

For questions about using Spark, post on our Google Group: https://groups.google.com/d/forum/sparkjava

Temporary javadoc: http://spark.screenisland.com

Getting started
---------------

```java
import static spark.Spark.*;

public class HelloWorld {
    public static void main(String[] args) {
        get("/hello", (request, response) -> "Hello World!");
{'fraction_non_alphanumeric': 0.20636604774535808, 'fraction_numerical': 0.005305039787798408, 'mean_word_length': 4.282913165266106, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 21, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '2158065', 'n_tokens_mistral': 636, 'n_tokens_neox': 555, 'n_words': 130}