<commit_before><h2>Converting a Word Document is as easy as 1, 2, 3...</h2>

<% unless error.nil? %>
  <div class="alert alert-danger">
    <%= error %>
  </div>
<% end %>

<div class="row mt-3">
  <div class="col">
    <h3>Step 1</h3>
    <h4>Upload a <code>.docx</code> or <code>.doc</code> file</h4>
    <p class="text-muted">Drag-and-drop the file below to upload</p>
  </div>
  <div class="col">
    <h3>Step 2</h3>
    <h4>Get back crisp, clean Markdown</h4>
    <pre class="bg-light border p-2 mt-3"><code># H1

Paragraph

## H2

Paragraph

### H3

Paragraph
</code></pre>
  </div>

  <div class="col">
    <h3>Step 3</h3>
    <h4>???</h4>
  </div>

</div>

<form method="POST" enctype="multipart/form-data">
  <input type="file" class="form-control-file p-2 border" name="doc" id="doc">
  <input type="submit" class="btn btn-primary btn-lg mt-3" value="Convert" id="submit">
</form>
<commit_msg>text let<commit_after><h2>Converting a Word Document is as easy as 1, 2, 3...</h2>

<% unless error.nil? %>
  <div class="alert alert-danger">
    <%= error %>
  </div>
<% end %>

<div class="row mt-3">
  <div class="col">
    <h3>Step 1</h3>
    <h4>Upload a <code>.docx</code> or <code>.doc</code> file</h4>
    <p class="text-muted">Drag-and-drop the file below to upload</p>
  </div>
  <div class="col">
    <h3>Step 2</h3>
    <h4>Get back crisp, clean Markdown</h4>
    <pre class="bg-light border p-2 mt-3 text-left"><code># H1

Paragraph

## H2

Paragraph

### H3

Paragraph
</code></pre>
  </div>

  <div class="col">
    <h3>Step 3</h3>
    <h4>???</h4>
  </div>

</div>

<form method="POST" enctype="multipart/form-data">
  <input type="file" class="form-control-file p-2 border" name="doc" id="doc">
  <input type="submit" class="btn btn-primary btn-lg mt-3" value="Convert" id="submit">
</form>

{'fraction_non_alphanumeric': 0.21700717835450029, 'fraction_numerical': 0.030922142462727776, 'mean_word_length': 3.4411764705882355, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 85, 'https://': 0, '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': '2526459', 'n_tokens_mistral': 773, 'n_tokens_neox': 738, 'n_words': 178}