<commit_before># Web Client

## Ubuntu 16.04 Setup Notes

```bash
# Install Node 8
$ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
$ sudo apt-get install -y nodejs

# Install Yarn
$ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
$ echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
$ sudo apt-get update && sudo apt-get install yarn

# Install Yarn packages
$ yarn install
```

## Build

To build the web client once:

```bash
$ yarn run gulp build-client
```

To watch the files and build the web client whenever a file changes:

```
$ yarn run gulp
# or
$ yarn run gulp watch
```

The build output will be in `web-client/dist`.
<commit_msg>Fixed incorrect rendering in readme.<commit_after># Web Client

## Ubuntu 16.04 Setup Notes

```bash
# Install Node 8
$ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
$ sudo apt-get install -y nodejs

# Install Yarn
$ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
$ echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
$ sudo apt-get update && sudo apt-get install yarn

# Install Yarn packages
$ yarn install
```

## Build

To build the web client once:

```bash
$ yarn run gulp build-client
```

To watch the files and build the web client whenever a file changes:

```bash
$ yarn run gulp
# or
$ yarn run gulp watch
```

The build output will be in `web-client/dist`.

{'fraction_non_alphanumeric': 0.12693082605775688, 'fraction_numerical': 0.008059100067159167, 'mean_word_length': 3.408284023668639, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '6919759', 'n_tokens_mistral': 568, 'n_tokens_neox': 502, 'n_words': 185}