<commit_before># SimpleAnnotationServer
This is an Annotation Server which is compatible with [IIIF](http://iiif.io) and [Mirador](https://github.com/IIIF/mirador). This Annotation Server includes
a copy of Mirador so you can get started creating annotations straight away. The annotations are stored as linked data in an [Apache Jena](https://jena.apache.org/) triple store by default. It is also possible to store the annotations in [Sesame](doc/Sesame.md) or [SOLR](doc/Solr.md). 

**Now supports IIIF Search API**

For details see [IIIF Search](doc/IIIFSearch.md)

## Getting Started
**Requires:**
 * Java 1.8
 * [maven](https://maven.apache.org/)

To begin working with Mirador and the Simple Annotation Server do the following:

 * Download code

```git clone https://github.com/glenrobson/SimpleAnnotationServer.git```

 * Move into the SimpleAnnotationServer directory.

```cd SimpleAnnotationServer```

 * Start the jetty http server

```mvn jetty:run```
<commit_msg>Referencing the issue with the current mirador version.<commit_after># SimpleAnnotationServer
This is an Annotation Server which is compatible with [IIIF](http://iiif.io) and [Mirador](https://github.com/IIIF/mirador). This Annotation Server includes
a copy of Mirador so you can get started creating annotations straight away. The annotations are stored as linked data in an [Apache Jena](https://jena.apache.org/) triple store by default. It is also possible to store the annotations in [Sesame](doc/Sesame.md) or [SOLR](doc/Solr.md). 

**Now supports IIIF Search API**
**NOTE: the current master doesn't support mirador versions after 2.1.1 due to a change in the way Mirador stores annotations. See branch [mirador-2.1.4](tree/mirador-2.1.4) for code that works with the latest mirador versions.**

For details see [IIIF Search](doc/IIIFSearch.md)

## Getting Started
**Requires:**
 * Java 1.8
 * [maven](https://maven.apache.org/)

To begin working with Mirador and the Simple Annotation Server do the following:

 * Download code

```git clone https://github.com/glenrobson/SimpleAnnotationServer.git```

 * Move into the SimpleAnnotationServer directory.

```cd SimpleAnnotationServer```

 * Start the jetty http server

```mvn jetty:run```

{'fraction_non_alphanumeric': 0.1079136690647482, 'fraction_numerical': 0.005845323741007194, 'mean_word_length': 4.855263157894737, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '3533875', 'n_tokens_mistral': 664, 'n_tokens_neox': 622, 'n_words': 251}