<commit_before># alexandria-frontend
This is a test repo that may potentially be the frontend of [Alexandria](https://github.com/alexandrialibrary/Alexandria).

[![Join the chat at https://gitter.im/alexandrialibrary/Alexandria](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/alexandrialibrary/Alexandria?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
<commit_msg>Add usage directions to README.md<commit_after># alexandria-frontend
This is a test repo that may potentially be the frontend of [Alexandria](https://github.com/alexandrialibrary/Alexandria).

[![Join the chat at https://gitter.im/alexandrialibrary/Alexandria](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/alexandrialibrary/Alexandria?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

##Usage
To test the site locally you will need a simple server. Conveniently, there is a Node.js project called [Simple Server](https://github.com/balupton/simple-server) that does just this.

**Install Simple Server**
```shell
$ npm install -g simple-server
```

**Serve the current directory at port 3000**
```shell
$ simple-server ./ 3000
```
The project will now be available at [`http://localhost:3000/index.html`](http://localhost:3000/index.html).

{'fraction_non_alphanumeric': 0.13354037267080746, 'fraction_numerical': 0.015527950310559006, 'mean_word_length': 6.241573033707865, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 9, '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': '7402044', 'n_tokens_mistral': 451, 'n_tokens_neox': 419, 'n_words': 95}