<commit_before># PlugSocket

**TODO: Add description**

## Installation

If [available in Hex](https://hex.pm/docs/publish), the package can be installed as:

  1. Add `plug_socket` to your list of dependencies in `mix.exs`:

    ```elixir
    def deps do
      [{:plug_socket, "~> 0.1.0"}]
    end
    ```

  2. Ensure `plug_socket` is started before your application:

    ```elixir
    def application do
      [applications: [:plug_socket]]
    end
    ```
<commit_msg>Add instructions<commit_after># PlugSocket

Run the server with

```
MIX_ENV=prod mix do compile, run --no-halt
```

Connect your websocket client to `ws://localhost:4000/ws`
{'fraction_non_alphanumeric': 0.13292117465224113, 'fraction_numerical': 0.013910355486862442, 'mean_word_length': 3.4081632653061225, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 1, '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': '6584971', 'n_tokens_mistral': 225, 'n_tokens_neox': 209, 'n_words': 67}